Compartir a través de


WindowsClaimsIdentity (Constructor, (IntPtr, String, String))

Initializes an instance of WindowsClaimsIdentity.

Espacio de nombres: Microsoft.IdentityModel.Claims
Ensamblado: Microsoft.IdentityModel (en microsoft.identitymodel.dll)

Uso

    Dim userToken As IntPtr
Dim authenticationType As String
Dim issuerName As String

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

Sintaxis

'Declaración
Public Sub New ( _
    userToken As IntPtr, _
    authenticationType As String, _
    issuerName As String _
)
public WindowsClaimsIdentity (
    IntPtr userToken,
    string authenticationType,
    string issuerName
)
public:
WindowsClaimsIdentity (
    IntPtr userToken, 
    String^ authenticationType, 
    String^ issuerName
)
public WindowsClaimsIdentity (
    IntPtr userToken, 
    String authenticationType, 
    String issuerName
)
public function WindowsClaimsIdentity (
    userToken : IntPtr, 
    authenticationType : String, 
    issuerName : String
)

Parámetros

  • 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.

Excepciones

Tipo de excepción Condición

Notas

Plataformas

Plataformas de desarrollo

Windows Server 2003, Windows Vista

Target Platforms

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

Vea también

Referencia

WindowsClaimsIdentity (Clase)
WindowsClaimsIdentity (Miembros)
Microsoft.IdentityModel.Claims (Espacio de nombres)