shared_drive_restrictions Property
The restrictions that apply to the shared drive.
Syntax
def get_shared_drive_restrictions(shared_drive_index: int) -> int: ...
Default Value
0
Remarks
The restrictions that apply to the shared drive.
This property specifies the restrictions that apply to the shared drive. The value is a bitmask comprised of one or more of the following, OR'ed together:
Hex Value | Description |
0x0001 | Administrative privileges on the shared drive are required to modify restrictions. |
0x0002 | Readers and commenters cannot copy, print, or download files in the shared drive. |
0x0004 | Access to the shared drive, and its contents, is restricted to users in its domain. |
0x0008 | Access to items in the shared drive is restricted to its members. |
The update_shared_drive method can be used to change any of the shared drive's restrictions that the current user is allowed to alter (indicated by the presence of the 0x00002, 0x00004, and/or 0x00010 flags in the shared_drive_capabilities property).
The shared_drive_index parameter specifies the index of the item in the array. The size of the array is controlled by the shared_drive_count property.
This property is read-only.