IPWorks Cloud 2020 PHP Edition

Questions / Feedback?

SharedDriveCapabilities Property

The capabilities that the current user has for the shared drive.

Object Oriented Interface

public function getSharedDriveCapabilities($shareddriveindex);

Procedural Interface

ipworkscloud_googledrive_get($res, 103 , $shareddriveindex);

Default Value

0

Remarks

The capabilities that the current user has for the shared drive.

This property describes the effective capabilities that the current user has for the shared drive. The value is a bit field comprised of one or more of the following, OR'ed together:

Hex Value Description
0x00001 User can add children to the shared drive's folders.
0x00002 User can change the shared drive's copyRequiresWriterPermission restriction.
0x00004 User can change the shared drive's domainUsersOnly restriction.
0x00008 User can change the shared drive's background image.
0x00010 User can change the shared drive's driveMembersOnly restriction.
0x00020 User can comment on the shared drive's files.
0x00040 User can copy files in the shared drive.
0x00080 User can permanently delete children from the shared drive's folders.
0x00100 User can delete the shared drive.
0x00200 User can download the shared drive's files.
0x00400 User can edit the shared drive's files.
0x00800 User can list children of folders in the shared drive.
0x01000 User can add, remove, and update shared drive members.
0x02000 User can read revisions of the shared drive's files.
0x04000 User can rename the shared drive's files and folders.
0x08000 User can rename the shared drive.
0x10000 User can share the shared drive's files and folders.
0x20000 User can trash children from the shared drive's folders.

The $shareddriveindex parameter specifies the index of the item in the array. The size of the array is controlled by the SharedDriveCount property.

This property is read-only and not available at design time.

Data Type

Integer

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Cloud 2020 PHP Edition - Version 20.0 [Build 8265]