PySID Object
A Python object, representing a SID structure
Methods
- Initialize
- Initialize the SID.
- IsValid
- Determines if the SID is valid.
- SetSubAuthority
- Sets a SID SubAuthority
- GetLength
- Return length of sid (GetLengthSid)
- GetSubAuthorityCount
- Return nbr of subauthorities from SID
- GetSubAuthority
- Return specified subauthory from SID
- GetSidIdentifierAuthority
- Return identifier for the authority who issued the SID (one of the SID_IDENTIFIER_AUTHORITY constants)
Comments
Note the PySID object supports the buffer interface. Thus buffer(sid) can be used to obtain the raw bytes. tp_as_buffer