Server Side Asp GetUserName

S

smj92I

Hello

How to get the name of the user logged in the server side, is there
something like GetUserName?

Thanks
 
R

Ray at

The user who is logged on at the console, or through your website, you mean?

What you'd do is turn off anonymous access and require users to log in with
NT authentication. Then use request.servervariables("logon_user"). See
details here. http://www.aspfaq.com/2046

Ray at work
 

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
474,266
Messages
2,571,087
Members
48,773
Latest member
Kaybee

Latest Threads

Top