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.
Пространство имен: Microsoft.IdentityModel.Claims
Сборка: Microsoft.IdentityModel (в
microsoft.identitymodel.dll)
Использование
Visual Basic |
Dim claims As IEnumerable(Of Claim)
Dim authenticationType As String
Dim instance As New ClaimsIdentity(claims, authenticationType)
|
Синтаксис
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
)
|
Параметры
- claims
-
The collection of claims.
- authenticationType
-
The method used for authenticating the user.
Платформы
Платформа разработки
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
См. также