Initializes an instance of WindowsClaimsIdentity.
Пространство имен: Microsoft.IdentityModel.Claims
Сборка: Microsoft.IdentityModel (в microsoft.identitymodel.dll)

Использование

Visual Basic
Dim userToken As IntPtr
Dim authenticationType As String
Dim issuerName As String

Dim instance As New WindowsClaimsIdentity(userToken, authenticationType, issuerName)

Синтаксис

Visual Basic
Public Sub New ( _
		userToken As IntPtr, _
		authenticationType As String, _
		issuerName As String _
)
C#
public WindowsClaimsIdentity (
		IntPtr userToken,
		string authenticationType,
		string issuerName
)
C++
public:
WindowsClaimsIdentity (
		IntPtr userToken, 
		String^ authenticationType, 
		String^ issuerName
)
J#
public WindowsClaimsIdentity (
		IntPtr userToken, 
		String authenticationType, 
		String issuerName
)
JScript
public function WindowsClaimsIdentity (
		userToken : IntPtr, 
		authenticationType : String, 
		issuerName : String
)

Параметры

userToken

User token to use for this WindowsClaimsIdentity.

authenticationType

Name of the authentication package used to authenticate this user.

issuerName

The name of the issuer to use for the claims.

Исключения

Тип исключений Условие

Примечания


Платформы

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

Windows Server 2003, Windows Vista

Target Platforms

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

См. также