Applies to Objects
The Security Identifier (SID) is a variable-length structure used by Windows to uniquely identify users or groups. The ISecurityIdentifier interface gives the SID in two formats - as an array of bytes and as a string. A SID in an array of bytes format is in the same format as stored by Windows. A SID in the string format is more readable and can be stored in the Registry.
The ISecurityIdentifier interface includes properties to get the SIDs of the applicable objects (listed above). In case of the Domain object, the interface gets the SID of the Primary Domain Controller (PDC) of that domain.
Gets the security identifier of the specified object in byte array format.
Gets the security identifier for the specified object in the string format.