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.

Платформы

Платформа разработки

Windows Server 2003, Windows Vista

Target Platforms

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

См. также