Udostępnij przez


Saml2SecurityTokenHandler.CreateWindowsIdentity(String) Metoda

Definicja

WindowsIdentity Tworzy obiekt przy użyciu określonej głównej nazwy użytkownika (UPN).

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

Parametry

upn
String

Nazwa UPN używana do tworzenia tożsamości.

Zwraca

Utworzono tożsamość systemu Windows.

Wyjątki

upn jest lub pusty null ciąg.

Dotyczy