IWindowsAuthenticationExtension.SidToPrincipalName(Byte[]) 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 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.