Initializes an instance of WindowsClaimsIdentity.
命名空间: Microsoft.IdentityModel.Claims
程序集: Microsoft.IdentityModel(microsoft.identitymodel.dll 中)
用法
Dim userToken As IntPtr Dim authenticationType As String Dim instance As New WindowsClaimsIdentity(userToken, authenticationType)
语法
声明
Public Sub New ( _
    userToken As IntPtr, _
    authenticationType As String _
)
public WindowsClaimsIdentity (
    IntPtr userToken,
    string authenticationType
)
public:
WindowsClaimsIdentity (
    IntPtr userToken, 
    String^ authenticationType
)
public WindowsClaimsIdentity (
    IntPtr userToken, 
    String authenticationType
)
public function WindowsClaimsIdentity (
    userToken : IntPtr, 
    authenticationType : String
)
参数
- userToken
 The user token to use for this WindowsClaimsIdentity.
- authenticationType
 The authentication method used to authenticate this user.
平台
开发平台
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
请参见
参考
WindowsClaimsIdentity 类
WindowsClaimsIdentity 成员
Microsoft.IdentityModel.Claims 命名空间