IWindowsAuthenticationExtension.PrincipalNameToSid(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.