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

asp.net - Change the driver in the connection string to a data source in VB.Net -

Getting started consuming web services in a Ruby on Rails 3 application -

unix - Listing all shared memory segments used by a process on AIX5.3+ -