models_v2.smb_permissions_information module

class models_v2.smb_permissions_information.SMBPermissionsInformation(owner_sid=None, permissions=None)[source]

Bases: object

Implementation of the ‘SMB Permissions Information.’ model.

Specifies information about SMB permissions.

Attributes:
owner_sid (string): Specifies the security identifier (SID) of the

owner of the SMB share.

permissions (list of SMBPermission): Array of SMB Permissions.

Specifies a list of SMB permissions.

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.