Initializes an instance of the WindowsClaimsPrincipal.
Пространство имен: Microsoft.IdentityModel.Claims
Сборка: Microsoft.IdentityModel (в microsoft.identitymodel.dll)
Использование
Visual Basic |
---|
Dim identity As WindowsClaimsIdentity Dim instance As New WindowsClaimsPrincipal(identity) |
Синтаксис
Visual Basic |
---|
Public Sub New ( _ identity As WindowsClaimsIdentity _ ) |
C# |
---|
public WindowsClaimsPrincipal ( WindowsClaimsIdentity identity ) |
C++ |
---|
public: WindowsClaimsPrincipal ( WindowsClaimsIdentity^ identity ) |
J# |
---|
public WindowsClaimsPrincipal ( WindowsClaimsIdentity identity ) |
JScript |
---|
public function WindowsClaimsPrincipal ( identity : WindowsClaimsIdentity ) |
Параметры
- identity
-
The WindowsClaimsIdentity to draw the user token from.