Link to home
Start Free TrialLog in
Avatar of cotaej
cotaej

asked on

ASP.NET get NT UserID

Using ASP.Net how do I get the NT login ID of the user currently visiting my site?

I have done this before in the old ASP by setting the permissions on the directory to all domain users then using the Request.ServerVariables("REMOTE_USER")

What is the equivalent in .net

Thanks
Avatar of hongjun
hongjun
Flag of Singapore image

try
Environment.UserName

hongjun
ASKER CERTIFIED SOLUTION
Avatar of pillbug22
pillbug22

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial