WindowsClaimsPrincipal Конструктор (WindowsIdentity, String)
Initializes an instance of T:Microsoft.IdentityModel.Claims.WindowsClaimsPrincipal.
Пространство имен: Microsoft.IdentityModel.Claims
Сборка: Microsoft.IdentityModel (в microsoft.identitymodel.dll)
Использование
Dim identity As WindowsIdentity Dim issuerName As String Dim instance As New WindowsClaimsPrincipal(identity, issuerName)
Синтаксис
'Декларация
Public Sub New ( _
identity As WindowsIdentity, _
issuerName As String _
)
public WindowsClaimsPrincipal (
WindowsIdentity identity,
string issuerName
)
public:
WindowsClaimsPrincipal (
WindowsIdentity^ identity,
String^ issuerName
)
public WindowsClaimsPrincipal (
WindowsIdentity identity,
String issuerName
)
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
См. также
Справочник
Класс WindowsClaimsPrincipal
WindowsClaimsPrincipal Члены
Пространство имен Microsoft.IdentityModel.Claims