Initializes an instance of the WindowsClaimsPrincipal.
命名空间: Microsoft.IdentityModel.Claims
程序集: Microsoft.IdentityModel(microsoft.identitymodel.dll 中)
用法
Dim identity As WindowsClaimsIdentity Dim instance As New WindowsClaimsPrincipal(identity)
语法
声明
Public Sub New ( _
identity As WindowsClaimsIdentity _
)
public WindowsClaimsPrincipal (
WindowsClaimsIdentity identity
)
public:
WindowsClaimsPrincipal (
WindowsClaimsIdentity^ identity
)
public WindowsClaimsPrincipal (
WindowsClaimsIdentity identity
)
public function WindowsClaimsPrincipal (
identity : WindowsClaimsIdentity
)
参数
- identity
The WindowsClaimsIdentity to draw the user token from.
平台
开发平台
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
请参见
参考
WindowsClaimsPrincipal 类
WindowsClaimsPrincipal 成员
Microsoft.IdentityModel.Claims 命名空间