capture windows username in asp.net mvc request -


I have an intranet app asp.net mvc site anyway due to a full login system on the site, The login is to capture. I do not need to allow, but I want to do some logging on the server to track requests, etc. .

If you use HttpContext.Current.User.Identity.Name You can use the site to set up. Many browsers will pass the username transparently.


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -