How to get the login user for infopath?

M

Michelle

If using C# managed code _and the form is fully trusted_, then use
System.Security.Principal.WindowsIdentity.GetCurrent().Name
or
System.Environment.UserName
 
Top