I'm currently designing an intranet based application. Is it possible to retrieve the user's NT logon name when that person goes to a certain page and then store it in a database?
Printable View
I'm currently designing an intranet based application. Is it possible to retrieve the user's NT logon name when that person goes to a certain page and then store it in a database?
Yes, make sure anonymous access is disabled under IIS, and then Request.ServerVariables("AUTH_USER") is available to you.