PySID.GetSidIdentifierAuthority

(int,int,int,int,int,int) = GetSidIdentifierAuthority()

Returns a tuple of 6 SID_IDENTIFIER_AUTHORITY constants