models_v2.security_principal module

class models_v2.security_principal.SecurityPrincipal(domain_name=None, full_name=None, principal_name=None, object_class=None, sid=None)[source]

Bases: object

Implementation of the ‘SecurityPrincipal’ model.

Specifies a security principal.

Attributes:
domain_name (string): Specifies the domain name where the security

principal account is maintained.

full_name (string): Specifies the full name (first and last name) of

the security principal.

principal_name (string): Specifies the name of the security

principal.

object_class (ObjectClassEnum): Specifies the object class of the

security principal.

sid (string): Specifies the SID of the security principal.

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.