Initializes an instance of T:Microsoft.IdentityModel.Claims.WindowsClaimsPrincipal.
Namespace: Microsoft.IdentityModel.Claims
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim identity As WindowsIdentity
Dim issuerName As String

Dim instance As New WindowsClaimsPrincipal(identity, issuerName)

Syntax

Visual Basic
Public Sub New ( _
		identity As WindowsIdentity, _
		issuerName As String _
)
C#
public WindowsClaimsPrincipal (
		WindowsIdentity identity,
		string issuerName
)
C++
public:
WindowsClaimsPrincipal (
		WindowsIdentity^ identity, 
		String^ issuerName
)
J#
public WindowsClaimsPrincipal (
		WindowsIdentity identity, 
		String issuerName
)
JScript
public function WindowsClaimsPrincipal (
		identity : WindowsIdentity, 
		issuerName : String
)

Parameters

identity

WindowsIdentity to draw user token from.

issuerName

The Windows issuer name to use.

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