Saml2SecurityTokenHandler.CreateWindowsIdentity(String) Metodo

Definizione

Crea un WindowsIdentity oggetto utilizzando il nome dell'entità utente (UPN) 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 usare per creare l'identità.

Valori restituiti

Identità Windows creata.

Eccezioni

upn è null o una stringa vuota.

Si applica a