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

Usage

Visual Basic
Dim identities As IEnumerable(Of IClaimsIdentity)

Dim instance As New ClaimsPrincipal(identities)

Syntax

Visual Basic
Public Sub New ( _
		identities As IEnumerable(Of IClaimsIdentity) _
)
C#
public ClaimsPrincipal (
		IEnumerable<IClaimsIdentity> identities
)
C++
public:
ClaimsPrincipal (
		IEnumerable<IClaimsIdentity^>^ identities
)
J#
public ClaimsPrincipal (
		IEnumerable<IClaimsIdentity> identities
)
JScript
public function ClaimsPrincipal (
		identities : IEnumerable<IClaimsIdentity>
)

Parameters

identities

Collection of claims representing the subjects in the principal.

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