SMBShareACE#

class SMBShareACE(user_or_group_name=None, permission_type=None, access_type=None, sid=None, *args, **kwargs)#

Bases: object

Access control entry(ACE) for SMB share.

Parameters:
  • user_or_group_name (required max=256 chars) – (user_or_group_name) User or group name for share permission.

  • permission_type (required) – (permission_type)

  • access_type (required) – (access_type)

  • sid – (sid) SID of user or group name. This is a read-only field.

property access_type#
Type:

SMBAccessType

property permission_type#
Type:

PermissionType

property sid#

SID of user or group name. This is a read-only field.

Type:

str

to_dict()#

Returns the model properties as a dictionary

to_str()#

Returns the string representation of the model

property user_or_group_name#

User or group name for share permission.

Type:

str