ClaimsPrincipal Constructor (ClaimsIdentityCollection)

Creates an instance of ClaimsPrincipal.

Namespace: Microsoft.IdentityModel.Claims
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

    Dim identityCollection As ClaimsIdentityCollection

Dim instance As New ClaimsPrincipal(identityCollection)

Syntax

'Declaration
Public Sub New ( _
    identityCollection As ClaimsIdentityCollection _
)
public ClaimsPrincipal (
    ClaimsIdentityCollection identityCollection
)
public:
ClaimsPrincipal (
    ClaimsIdentityCollection^ identityCollection
)
public ClaimsPrincipal (
    ClaimsIdentityCollection identityCollection
)
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

Reference

ClaimsPrincipal Class
ClaimsPrincipal Members
Microsoft.IdentityModel.Claims Namespace