Click to See Complete Forum and Search --> : Windows Logon Username
dcarlson
Jan 16th, 2001, 01:43 PM
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,
Clunietp
Jan 16th, 2001, 10:01 PM
You have to disable anonymous access via the IIS manager. Then you can use request.servervariables("AUTH_USER") to get the WinNT name
dcarlson
Jan 17th, 2001, 07:46 AM
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?
Clunietp
Jan 17th, 2001, 09:31 AM
Yes you will need to do some string manipulation. The names are retrieved in DOMAIN\USERNAME format
dcarlson
Jan 17th, 2001, 09:37 AM
Thanks.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.