Sdílet prostřednictvím


IWindowsAuthenticationExtension.SidToPrincipalName(Byte[]) Method

Definition

Gets the principal name for the given Windows SID.

public:
 System::String ^ SidToPrincipalName(cli::array <System::Byte> ^ sid);
public string SidToPrincipalName (byte[] sid);
abstract member SidToPrincipalName : byte[] -> string
Public Function SidToPrincipalName (sid As Byte()) As String

Parameters

sid
Byte[]

The Windows SID assigned to the principal.

Returns

A string that contains the name of the principal.

Applies to