PermissionType Property
The set of users to which the permission applies.
Object Oriented Interface
public function getPermissionType($permissionindex); public function setPermissionType($permissionindex, $value);
Procedural Interface
ipworkscloud_googledrive_get($res, 65 , $permissionindex); ipworkscloud_googledrive_set($res, 65, $value , $permissionindex);
Default Value
0
Remarks
The set of users to which the permission applies.
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:
Value | Description | Related property |
0 (ptUser - default) | A single user. | PermissionEmail |
1 (ptGroup) | A group. | PermissionEmail |
2 (ptDomain) | A domain. | PermissionDomain |
3 (ptAnyone) | Anyone, authenticated or not. | N/A |
The $permissionindex parameter specifies the index of the item in the array. The size of the array is controlled by the PermissionCount property.
This property is not available at design time.
Data Type
Integer