models.smb_principal module¶
-
class
models.smb_principal.
SmbPrincipal
(domain=None, name=None, sid=None, mtype=None)[source]¶ Bases:
object
Implementation of the ‘SmbPrincipal’ model.
TODO: type model description here.
- Attributes:
domain (string): Specifies domain name of the principal. name (string): Specifies name of the SMB principal which may be a
group or user.
- sid (string): Specifies unique Security ID (SID) of the principal that
look similar to windows domain SID.
mtype (string): Specifies the type. This can be a user or a group.
-
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.