Initializes an instance of
T:Microsoft.IdentityModel.Claims.ClaimsIdentity using an enumerated
collection of T:Microsoft.IdentityModel.Claims.Claim objects and
the specified authentication type.
Namespace: Microsoft.IdentityModel.Claims
Assembly: Microsoft.IdentityModel (in
microsoft.identitymodel.dll)
Usage
Visual Basic |
Dim claims As IEnumerable(Of Claim)
Dim authenticationType As String
Dim instance As New ClaimsIdentity(claims, authenticationType)
|
Syntax
Visual Basic |
Public Sub New ( _
claims As IEnumerable(Of Claim), _
authenticationType As String _
)
|
C# |
public ClaimsIdentity (
IEnumerable<Claim> claims,
string authenticationType
)
|
C++ |
public:
ClaimsIdentity (
IEnumerable<Claim^>^ claims,
String^ authenticationType
)
|
J# |
public ClaimsIdentity (
IEnumerable<Claim> claims,
String authenticationType
)
|
JScript |
public function ClaimsIdentity (
claims : IEnumerable<Claim>,
authenticationType : String
)
|
Parameters
- claims
-
The collection of claims.
- authenticationType
-
The method used for authenticating the user.
Platforms
Development Platforms
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
See Also