Things to check
1) what is set in the web.config, windows authentication?
mode="Windows" />
users="?"/>
2) Is anonymous access in IIS disabled? (enable Windows Authentication)
3) Try HttpConext.Current.User instead of Thread.CurrentPrincipal
3) Try HttpConext.Current.User instead of Thread.CurrentPrincipal
No comments:
Post a Comment