Initializes an instance of T:Microsoft.IdentityModel.Claims.ClaimsIdentity using an enumerated collection of T:Microsoft.IdentityModel.Claims.Claim objects.
Namespace: Microsoft.IdentityModel.Claims
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim claims As IEnumerable(Of Claim)

Dim instance As New ClaimsIdentity(claims)

Syntax

Visual Basic
Public Sub New ( _
		claims As IEnumerable(Of Claim) _
)
C#
public ClaimsIdentity (
		IEnumerable<Claim> claims
)
C++
public:
ClaimsIdentity (
		IEnumerable<Claim^>^ claims
)
J#
public ClaimsIdentity (
		IEnumerable<Claim> claims
)
JScript
public function ClaimsIdentity (
		claims : IEnumerable<Claim>
)

Parameters

claims

The collection of claims.

Remarks

P:Microsoft.IdentityModel.Claims.ClaimsIdentity.AuthenticationType is set to null.


Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

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

See Also