Last post Feb 17, 2015 09:27 AM by daktmacfan
Feb 16, 2015 11:54 AM|daktmacfan|LINK
I have a MVC 4 website made with the default template that ships with VS 2013/MVC 4. When the app is deployed on my test win 2k8R2 server on IIS when you login it says, Hi "Domain\user" in the top bar and the link to the right says "Log off".
What can I do to prevent it from picking up the active directory user? As I said the web.confi is set to use Forms authentication.
Feb 16, 2015 10:01 PM|Michelle Ge - MSFT|LINK
So far as I know, you not want to use the active directory provider. you can disable the provider in the web.config.
For more information, please refer to the link below:
Hope it's useful for you.
Feb 17, 2015 09:27 AM|daktmacfan|LINK
I guess my big hang up is that I have my Web.config set to use Forms, so this means that AD authentication would be turned off correct? But for some reason in the _LoginPartial.cshtml there is an if-statement @if(Request.IsAuthenticated) and that is true
even before a user logs in. It says the authenticated user is MyDomain\MyUserName.