Authorize attribute
Need help on this authorize code开发者_开发百科 to define a specific sub group in my controller.
[Authorize(Roles = "RABEE\domain user accounts\zam gas industry\california\domain local groups\ZamReader")]
RABEE is the domain name that is why I have \ Group Name i have added users is: ZamReader
what I am doing wrong?
Are you using Active Ditrectory? If so, make sure that your using a "Security Group" not a "Distribution Group".
精彩评论