Posted on: 11/20/2013 3:28:33 PM | Views : 889

Hi - if I run my website under development server in VS and use Environment.UserName - I get the correct username, i.e. my own windows username.
But - when I run the site under IIS, Environment.UserName returns IUSR
I have windows authentication enabled and asp.net impersonation enabled but I still can't get the actual windows username of the person browsing the site.
Any ideas on this one?

Go to the complete details ...