I want get the login domain user for infopath,how to do? Thank.
M Michelle Dec 14, 2004 #2 If using C# managed code _and the form is fully trusted_, then use System.Security.Principal.WindowsIdentity.GetCurrent().Name or System.Environment.UserName
If using C# managed code _and the form is fully trusted_, then use System.Security.Principal.WindowsIdentity.GetCurrent().Name or System.Environment.UserName