Retrieve user login name

U

User Groups

On our intranet when a user first navigaes to my web application he is
prompted by the Browser to provide his user name and a password. Is there a
way of retrieving a user name on the server? If not, how else can I
personalize the user?

Thanks
 
A

Anthony Jones

User Groups said:
On our intranet when a user first navigaes to my web application he is
prompted by the Browser to provide his user name and a password. Is there a
way of retrieving a user name on the server? If not, how else can I
personalize the user?

Try Request.ServerVariables("LOGON_USER") or
Request.ServerVariables("AUTH_USER")
 
U

User Groups

I am trying Request.ServerVariables("LOGON_USER")
and despite that I have an Anonymous Access removed
it is still an empty string.
 
U

User Groups

AUTH_USER worked, Thanks

User Groups said:
I am trying Request.ServerVariables("LOGON_USER")
and despite that I have an Anonymous Access removed
it is still an empty string.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,233
Members
46,820
Latest member
GilbertoA5

Latest Threads

Top