Initializes an instance of
WindowsClaimsIdentity.
Namespace: Microsoft.IdentityModel.Claims
Assembly: Microsoft.IdentityModel (in
microsoft.identitymodel.dll)
Usage
Visual Basic |
Dim userToken As IntPtr
Dim authenticationType As String
Dim instance As New WindowsClaimsIdentity(userToken, authenticationType)
|
Syntax
Visual Basic |
Public Sub New ( _
userToken As IntPtr, _
authenticationType As String _
)
|
C# |
public WindowsClaimsIdentity (
IntPtr userToken,
string authenticationType
)
|
C++ |
public:
WindowsClaimsIdentity (
IntPtr userToken,
String^ authenticationType
)
|
J# |
public WindowsClaimsIdentity (
IntPtr userToken,
String authenticationType
)
|
JScript |
public function WindowsClaimsIdentity (
userToken : IntPtr,
authenticationType : String
)
|
Parameters
- userToken
-
The user token to use for this WindowsClaimsIdentity.
- authenticationType
-
The authentication method used to authenticate this user.
Platforms
Development Platforms
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
See Also