简体   繁体   中英

Can AD Distribution Group be used for authorizing users?

All the users I want to let into the admin section of my app are in a distribution group but not a security group. Can I use a distribution group in the Usre.IsInRole() method and in the Authorize(Role="Domain\\DistribGroup")] ?

No you can't. Distribution groups play no part in security at all. They are used solely for email distribution via Outlook or Exchange etc.

不,您可以使用启用电子邮件的安全组 - 这将允许控制安全访问和发送电子邮件。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM