WindowsClaimsPrincipal.IsInRole 方法

重载列表

名称 说明
WindowsClaimsPrincipal.IsInRole (Int32)  
WindowsClaimsPrincipal.IsInRole (SecurityIdentifier) This class interprets IsInRole as the reflection of whether this principal possesses a claim value whose claim type is specified as the RoleClaimType on a contained Identity or a matching group security identifier.
WindowsClaimsPrincipal.IsInRole (String) This class interprets IsInRole as the reflection of whether this principal possesses a claim value whose claim type is in a configured list or a matching group security identifier.
WindowsClaimsPrincipal.IsInRole (WindowsBuiltInRole)  

请参见

参考

WindowsClaimsPrincipal 类
WindowsClaimsPrincipal 成员
Microsoft.IdentityModel.Claims 命名空间

版权所有 (C) 2008 Microsoft Corporation。保留所有权利。