How do i capture the form users win NT login?

V

Vamsi

Hi,

Can someone tell me if the infopath form can capture the users NT login
while he is submitting the data..!

Thanks,
Vamsi
 
M

Michelle Beall

If using C# for the code behind you can get the account name as you would in
any other .NET app. The caveat ... the form will need to be fully trusted.

Look at:
string strUser =
System.Security.Principal.WindowsIdentity.GetCurrent().Name.ToString();
 
Top