Condividi tramite


Saml2SecurityTokenHandler.CreateWindowsIdentity(String) Metodo

Definizione

Crea un oggetto WindowsIdentity utilizzando il nome UPN (User Principal Name) specificato.

protected:
 virtual System::Security::Principal::WindowsIdentity ^ CreateWindowsIdentity(System::String ^ upn);
protected virtual System.Security.Principal.WindowsIdentity CreateWindowsIdentity (string upn);
abstract member CreateWindowsIdentity : string -> System.Security.Principal.WindowsIdentity
override this.CreateWindowsIdentity : string -> System.Security.Principal.WindowsIdentity
Protected Overridable Function CreateWindowsIdentity (upn As String) As WindowsIdentity

Parametri

upn
String

UPN da utilizzare per creare l'identità.

Restituisce

Identità Windows creata.

Eccezioni

upn è null o una stringa vuota.

Si applica a