I am having problems with Authorize attribute in MVC 3 with Windows Authentication. When I decorate a controller with the [Authorize] attribute a specify a role, the Authorization always returns false when I know the user is a member of the role I specified. Am I missing something? Does anybody have some examples of how they used [Authorize] attribute in MVC 3 with Windows Authentication? Thanks for the help……
I am having problems with Authorize attribute in MVC 3 with Windows Authentication. When
Share
[Authorize(Roles = “Admin”)]
Should be enough