Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting userid from ASP and Windows Apps

Status
Not open for further replies.

Turpis

Programmer
Apr 16, 2002
151
First: Is there any fancy .NET version of Environ("username")? That works, but I was just wondering if there is a special .NET version.

Second: Is there any way I can get the username in ASP.NET? I can put Environ("username") in code but all it returns ASPNET. For our Intranet logging purposes, I need to get the username.

Charles
Quality Assurance/Developer
 
Answering my own questions...just in case someone else wants to know.

Code:
Request.ServerVariables.Item(5).ToString

Charles
Quality Assurance/Developer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top