permissionType (property)
The set of users to which the permission applies.
- (int)permissionType
- (void)setPermissionType:(int)newPermissionType
Possible Values
GDPT_USER(0), GDPT_GROUP(1), GDPT_DOMAIN(2), GDPT_ANYONE(3)
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 |