Results 1 to 5 of 5

Thread: Windows Logon Username

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2000
    Location
    Sudbury, Ontario, Canada
    Posts
    274
    I'm developing a database that will be using a challenge/response login. Is there a way I can capture the username that is entered?

    Thanks in advance,

  2. #2
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844
    You have to disable anonymous access via the IIS manager. Then you can use request.servervariables("AUTH_USER") to get the WinNT name

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2000
    Location
    Sudbury, Ontario, Canada
    Posts
    274
    I jumped the gun on this post a little. When I use the AUTH_USER of REMOTE_USER variables, I get INFO\Administrator as a username. Do I have to use some string manipulation to get rid of the INFO\ part?

  4. #4
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844
    Yes you will need to do some string manipulation. The names are retrieved in DOMAIN\USERNAME format

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2000
    Location
    Sudbury, Ontario, Canada
    Posts
    274
    Thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width