重载列表
| 名称 | 说明 | 
|---|---|
| ClaimsPrincipal.CreateFromPrincipal (IPrincipal) | Creates the appropriate implementation of an IClaimsPrincipal based on the type of the specified IIdentity (e.g. WindowsClaimsPrincipal for a WindowsIdentity). Note the appropriate IClaimsIdentity is generated based on the specified IIdentity as well. | 
| ClaimsPrincipal.CreateFromPrincipal (IPrincipal, String) | Creates the appropriate implementation of an IClaimsPrincipal based on the type of the specified IIdentity (e.g. WindowsClaimsPrincipal for a WindowsIdentity). Note the appropriate IClaimsIdentity is generated based on the specified IIdentity as well. | 
请参见
参考
ClaimsPrincipal 类
ClaimsPrincipal 成员
Microsoft.IdentityModel.Claims 命名空间
版权所有 (C) 2008 Microsoft Corporation。保留所有权利。