Partager via


IWindowsAuthenticationExtension.PrincipalNameToSid(String) Method

Definition

Gets the Windows SID for the given principal name.

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

Parameters

name
String

The name of the principal.

Returns

Byte[]

A byte array that contains Windows SID.

Applies to