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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

'user.identity.name' Returning Empty

Status
Not open for further replies.

nidifice

Programmer
Oct 9, 2003
47
0
0
US
I'm trying to learn myself some ASP .net skills.

As the subject states, my 'user.identity.name' is returning an empty string.
I have the IIS anonymous access turned off and the integrated windows authentication turned on. Is there something else I am missing?
 
In 'classic' asp I was using:
request.ServerVariables("AUTH_USER")
 
Yes,

In the web.config file, I had to set my
<authentication mode=&quot;Forms&quot;>

to

<authentication mode=&quot;Windows&quot;>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top