Last post Apr 27, 2016 03:05 AM by Chris Zhao
Apr 26, 2016 07:27 AM|TommyJone|LINK
i have website in (asp.net c#) and i have login page in this login page i need to use two way to login
i have problem when i get the username and domain (domain\user) when i use (Security.Principal.WindowsIdentity.GetCurrent().Name the output is IIS APPPOOL/DefultPool)
Note : My website work under Internet Information Services
I want To get domain\user for any user open my website.
Apr 26, 2016 07:37 AM|oned_gk|LINK
Apr 26, 2016 01:57 PM|Karl Mitschke|LINK
Apr 27, 2016 03:05 AM|Chris Zhao|LINK
By default, ASP.NET impersonation is disabled. If you enable impersonation, your ASP.NET application runs under the security context of the user authenticated.
Windows Authentication in IIS, impersonation on
Getting A Users Username in ASP.NET