Our shop makes applications for the company's intranet. In classic asp, we used this to obtain a user's identity~
Request.ServerVariables("AUTH_USER")
Now we are switching to asp.Net. I have tried Request.ServerVariables("AUTH_USER") in aspx pages, and it fails.
The web.config file DOES contain~
<authentication mode="Windows" />
and it ALSO contains
<authorization>
<allow users="*" /> <!-- Allow all users -->
So why doesn't it work?!?!?
Request.ServerVariables("AUTH_USER")
Now we are switching to asp.Net. I have tried Request.ServerVariables("AUTH_USER") in aspx pages, and it fails.
The web.config file DOES contain~
<authentication mode="Windows" />
and it ALSO contains
<authorization>
<allow users="*" /> <!-- Allow all users -->
So why doesn't it work?!?!?