ClaimsPrincipal.CreateFromIdentity 方法

重载列表

名称 说明
ClaimsPrincipal.CreateFromIdentity (IIdentity) Creates the appropriate implementation of an IClaimsPrincipal base 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.CreateFromIdentity (IIdentity, String) Creates the appropriate implementation of an IClaimsPrincipal base 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。保留所有权利。