Newbie question. Getting curent user login ?

G

grisha0

Hi,
i've got a problem,
i've designed a very complex form (3 fields ;))

what i want to get ?

I want to create an automatic procedure/event(onload)/or smth (for
example) which will check who is the currently logged user and return
hers/his login to specified field.

i've searched the google and msdn ... no luck to solve my problem

thanks for any responce
Grisha
 
K

Kalyan Reddy

Hi Grisha,

Write this Code in C#
System.Environment.UserName
to get the logged in userin to any field
 
G

grisha0

thanks for you reply but as i can see (i do remind that im new to the
infopath) only scripting method (like Tools -> script -> On load
event).... but is it normal c# or VB ?

or do i have to create an full assebly (like dll) in VS.net ?
 
S

Sandeep

Top