IWindowsAuthenticationExtension2.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[]

The Windows SID for the given principal name.

Applies to