IPWorks Cloud 2020 C++ Builder Edition

Questions / Feedback?

PermissionType Property

The set of users to which the permission applies.

Syntax

__property TicsGoogleDrivePermissionTypes PermissionType[int PermissionIndex] = { read=FPermissionType, write=FSetPermissionType };
enum TicsGoogleDrivePermissionTypes { ptUser=0, ptGroup=1, ptDomain=2, ptAnyone=3 };

Default Value

ptUser

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

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