Community discussion forum

How to get window user in asp.net ?

  • 7 months ago
    I want to fetch window user in asp.net. I have used WindowsIdentity class but its giving ASPNET. I want the window logged in user. If I run the application in my local pc without installing it into IIS, then its giving correct , but when I install it in IIS then its not giving correct answer. Please give me correct answer. Thanks in advance.
  • 7 months ago
    Hi, I can't remember if turning on windows authentication will help with this or not, worth a try though, look for the option in the IIS admin. Si

Post a reply

Enter your message below

Sign in or Join us (it's free).

Want to stay in touch with what's going on? Follow us on twitter!