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 issuerName As String

Dim instance As New WindowsClaimsIdentity(userToken, authenticationType, issuerName)

Syntax

Visual Basic
Public Sub New ( _
		userToken As IntPtr, _
		authenticationType As String, _
		issuerName As String _
)
C#
public WindowsClaimsIdentity (
		IntPtr userToken,
		string authenticationType,
		string issuerName
)
C++
public:
WindowsClaimsIdentity (
		IntPtr userToken, 
		String^ authenticationType, 
		String^ issuerName
)
J#
public WindowsClaimsIdentity (
		IntPtr userToken, 
		String authenticationType, 
		String issuerName
)
JScript
public function WindowsClaimsIdentity (
		userToken : IntPtr, 
		authenticationType : String, 
		issuerName : String
)

Parameters

userToken

User token to use for this WindowsClaimsIdentity.

authenticationType

Name of the authentication package used to authenticate this user.

issuerName

The name of the issuer to use for the claims.

Exceptions

Exception type Condition

Remarks


Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

See Also