[英]Active Directory Security Group and Role in asp.net
我在AD中有一個安全組。 我想將管理員角色分配給該安全組的成員。 最好的方法是什么?
嘗試使用此:
if (User.IsInRole("AdminSecurityGroup"))
{
//Give user admin authority
}
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.