Creates an instance of ClaimsPrincipal.
Пространство имен: Microsoft.IdentityModel.Claims
Сборка: Microsoft.IdentityModel (в microsoft.identitymodel.dll)
Использование
Visual Basic |
---|
Dim identityCollection As ClaimsIdentityCollection Dim instance As New ClaimsPrincipal(identityCollection) |
Синтаксис
Visual Basic |
---|
Public Sub New ( _ identityCollection As ClaimsIdentityCollection _ ) |
C# |
---|
public ClaimsPrincipal ( ClaimsIdentityCollection identityCollection ) |
C++ |
---|
public: ClaimsPrincipal ( ClaimsIdentityCollection^ identityCollection ) |
J# |
---|
public ClaimsPrincipal ( ClaimsIdentityCollection identityCollection ) |
JScript |
---|
public function ClaimsPrincipal ( identityCollection : ClaimsIdentityCollection ) |
Параметры
- identityCollection
-
A collection of IClaimsIdentity that represents the subjects in the principal.