5.186 SidFromStringSid

 procedure SidFromStringSid(stringSID: unicodestring): SID

The SidFromStringSid procedure converts the string representation of a SID specified in stringSID (for example, S-1-5-3) to the SID type, as specified in [MS-DTYP] section 2.4.2. See [MS-DTYP] section 2.4.2.1 for the string representation of a SID.