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

Getting the user name with IIS7's (system.webServer) windows authentication

$
0
0

In my previous ticket I was advised to use the new IIS7 way of doing windows authentication via system.webServer/security/authentication rather than the old system.web/authentication.

That indeed solved my original problem - I can now have different authentication modes in different locations.

However, how do I get the authenticated user name in an ASP.NET application then?

With authentication done in system.webServer/security/authentication, I have access to that identity, but not apparently not when done via system.webServer/security/authentication.

Can somebody help me with this?


Viewing all articles
Browse latest Browse all 1881

Trending Articles



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