Thursday, August 11, 2016

ASP.NET: Identity not using Windows NT

Things to check
1) what is set in the web.config, windows authentication?
 mode="Windows" />

    users="?"/>
impersonate="false" />
2) Is anonymous access in IIS disabled? (enable Windows Authentication)
3) Try HttpConext.Current.User instead of Thread.CurrentPrincipal

No comments: