Initializes an instance of
T:Microsoft.IdentityModel.Claims.WindowsClaimsPrincipal.
Пространство имен: Microsoft.IdentityModel.Claims
Сборка: Microsoft.IdentityModel (в
microsoft.identitymodel.dll)
Использование
Visual Basic |
Dim identity As WindowsIdentity
Dim issuerName As String
Dim instance As New WindowsClaimsPrincipal(identity, issuerName)
|
Синтаксис
Visual Basic |
Public Sub New ( _
identity As WindowsIdentity, _
issuerName As String _
)
|
C# |
public WindowsClaimsPrincipal (
WindowsIdentity identity,
string issuerName
)
|
C++ |
public:
WindowsClaimsPrincipal (
WindowsIdentity^ identity,
String^ issuerName
)
|
J# |
public WindowsClaimsPrincipal (
WindowsIdentity identity,
String issuerName
)
|
JScript |
public function WindowsClaimsPrincipal (
identity : WindowsIdentity,
issuerName : String
)
|
Параметры
- identity
-
WindowsIdentity to draw user token from.
- issuerName
-
The Windows issuer name to use.
Исключения
Примечания
Платформы
Платформа разработки
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
См. также