w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
How to get Window user Identity? "User.Identity.Name" returning App Pool Identity instead of Windows User

If you want to enable Windows users to automatically log in to your site using their Windows credentials, the only change you need to make is from:

<authentication mode="None" />


<authentication mode="Windows" />

Your users will be logged in automatically in IE or other browsers that have been configured for NTLM authentication. If not, they will still be prompted to re-enter their Windows credentials.

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.