Creates an instance of ClaimsPrincipal.
Namespace: Microsoft.IdentityModel.Claims
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim identityCollection As ClaimsIdentityCollection

Dim instance As New ClaimsPrincipal(identityCollection)

Syntax

Visual Basic
Public Sub New ( _
		identityCollection As ClaimsIdentityCollection _
)
C#
public ClaimsPrincipal (
		ClaimsIdentityCollection identityCollection
)
C++
public:
ClaimsPrincipal (
		ClaimsIdentityCollection^ identityCollection
)
J#
public ClaimsPrincipal (
		ClaimsIdentityCollection identityCollection
)
JScript
public function ClaimsPrincipal (
		identityCollection : ClaimsIdentityCollection
)

Parameters

identityCollection

A collection of IClaimsIdentity that represents the subjects in the principal.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

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

See Also