Creates an instance of
ClaimsPrincipal.
Пространство имен: Microsoft.IdentityModel.Claims
Сборка: Microsoft.IdentityModel (в
microsoft.identitymodel.dll)
Использование
Visual Basic |
Dim principal As IPrincipal
Dim instance As New ClaimsPrincipal(principal)
|
Синтаксис
Visual Basic |
Public Sub New ( _
principal As IPrincipal _
)
|
C# |
public ClaimsPrincipal (
IPrincipal principal
)
|
C++ |
public:
ClaimsPrincipal (
IPrincipal^ principal
)
|
J# |
public ClaimsPrincipal (
IPrincipal principal
)
|
JScript |
public function ClaimsPrincipal (
principal : IPrincipal
)
|
Параметры
- principal
-
A IPrincipal with which to initialize the instance.
Платформы
Платформа разработки
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
См. также