models.cluster_config_proto_sid module

class models.cluster_config_proto_sid.ClusterConfigProtoSID(identifier_authority=None, revision_level=None, sub_authority=None)[source]

Bases: object

Implementation of the ‘ClusterConfigProto_SID’ model.

Represents the security identifier that uniquely defines a security principal. SIDs are associated with users and groups. Reference: https://msdn.microsoft.com/en-us/library/aa379597.aspx

Attributes:
identifier_authority (list of int): The authority under which the SID

was created. This is always 6 bytes long.

revision_level (int): The revision level of the SID. sub_authority (list of int): List of ids relative to the

identifier_authority that uniquely identify a principal. The last entry in this list is the RID, which uniquely identifies the principal within a domain.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.