Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

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

Avatar of Member_2_1242703
Member_2_1242703 asked on
Microsoft IIS Web ServerWindows Server 2012.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
Avatar of Member_2_1242703
Member_2_1242703

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

Commented:
This problem has been solved!
Unlock 1 Answer and 10 Comments.
See Answers