开发者

Authorize attribute

开发者 https://www.devze.com 2023-04-08 21:36 出处:网络
Need help on this authorize code开发者_开发百科 to define a specific sub group in my controller.

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".

0

精彩评论

暂无评论...
验证码 换一张
取 消