Aracılığıyla paylaş


Saml2SecurityTokenHandler.CreateWindowsIdentity(String) Yöntem

Tanım

Belirtilen Kullanıcı Asıl Adını (UPN) kullanarak bir WindowsIdentity nesne oluşturur.

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

Parametreler

upn
String

Kimliği oluşturmak için kullanılacak UPN.

Döndürülenler

Oluşturulan Windows kimliği.

Özel durumlar

upn veya null boş bir dizedir.

Şunlara uygulanır