PermissionType Property
The set of users to which the permission applies.
Object Oriented Interface
public function getPermissionType(); public function setPermissionType($value);
Procedural Interface
incloudstorage_googledrive_get($res, 40 ); incloudstorage_googledrive_set($res, 40, $value );
Default Value
0
Remarks
This property defines the set of users to which the permission role defined in PermissionRole applies.
The PermissionEmail and PermissionDomain properties are used to define the user, group, or domain to which the permission applies. The following table shows which property is associated with which permission type:
Property Value | Description | Related Property |
0 (gdptUser - default) | A single user. | PermissionEmail |
1 (gdptGroup) | A group. | PermissionEmail |
2 (gdptDomain) | A domain. | PermissionDomain |
3 (gdptAnyone) | Anyone, authenticated or not. | N/A |
This property is not available at design time.
Data Type
Integer