troubleshooting Question

Help configuring .NET 4/MVC 5/IIS 8/2012 R2 site

Avatar of Member_2_1242703
Member_2_1242703 asked on
Windows Server 2012Microsoft IIS Web Server.NET MVC
10 Comments1 Solution308 ViewsLast Modified:
I have a .NET 4 MVC 5 site set up in IIS 8.5 on a Windows Server 2012 R2 box like this:

Has it's own app pool running under service account
Anonymous Auth: enabled / using App Pool Identity
ASP.NET Impersonation enabled / using service account (also tried with Auth user)
Basic/Forms/Windows disabled

Everything works fine, except I need to get the user (NT) logon of the client user.

Using something like
System.Security.Principal.WindowsIdentity.GetCurrent().Name
Returns the aforementioned system account.

What code changes or changes to my configuration do I need to make to accomplish what I'm trying to do?
ASKER CERTIFIED SOLUTION
Member_2_1242703

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 10 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 10 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros