Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 4737

WindowsIdentity.GetCurrent().Name versus HttpContext.Current.User.Identity.Name w/Windows Authentication

$
0
0

I have set up an admin site in our intranet using Active Directory. On my test box, WindowsIdentity.GetCurrent().Name but on my new prod box HttpContext.Current.User.Identity.Name w/Windows Authentication seems to work. When I compare the IIS settings XML for each box they seem to be the same.

Can anyone tell me what decides which one is correct? Then, maybe, I can made them the same.


Viewing all articles
Browse latest Browse all 4737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>