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

Usage

Visual Basic
Dim principal As IPrincipal

Dim instance As New ClaimsPrincipal(principal)

Syntax

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

Parameters

principal

A IPrincipal with which to initialize the instance.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

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

See Also