I’m developing a system in ASP.NET which needs user authentication. The authentication system should look up to the login name in the user machine instead of typing the username in the textbox. Then, if it’s registred in the database, it should log in automatically.
How do I get, by code, the user machine’s login name?
You can use:
This is found in the
HttpContext.UserProperty.