Can we capture the form users Windows NT login?

V

Vamsi

Hi,

Can someone please let me know if we can capture the NT login of the user
who is using the form? and if yes how do we do this?

Thanks in advance for any help!

Vamsi.
 
R

Rags Iyer

if you are using C# managed code and the fomr is fully trusted than this can
be achieved by using
System.Security.principal.windowsidentity.getcurrent().Name or
system.Environment.Name

Regards,
Rags Iyer
 
Top