locked
Accessing logged in username RRS feed

  • Question

  • User-1382621019 posted

    I am wondering if anyone knows how to access a persons username that they are logged into their computer with?

    Now I don't want to have them log in again, I want to use their windows logged in username... so I don't want to turn off Anon in IIS.

    Currently all I get is the anon network answer... "Network Authority / Auth User" or whatever it is exactly.

     Any ideas?

    Friday, February 6, 2009 4:13 PM

Answers

  • User-1181669224 posted

    If they're logged in to the network, and you have integrated window authentication turned on, it shouldn't ask them to log in again.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, February 10, 2009 2:13 PM

All replies

  • User-1181669224 posted

     You'll need to turn on Integrated Windows Authentication from the IIS console to get their username in a webapp.  If you leave it as anonymous login, you're running as the anonymous user, so that's what you'll get back.

    Friday, February 6, 2009 4:26 PM
  • User-1382621019 posted

    Yeah I know that... but what I was asking was if there is another way so I don't have to force the user to log in again.  I mean they are on the network using their username, you'd think there would be a way to access that.

    Friday, February 6, 2009 4:38 PM
  • User-1181669224 posted

    If they're logged in to the network, and you have integrated window authentication turned on, it shouldn't ask them to log in again.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, February 10, 2009 2:13 PM