IPWorks Cloud 2020 Delphi Edition

Questions / Feedback?

GDrivePermission Type

A file, folder, or shared drive permission.

Remarks

This type represents a file, folder, or shared drive permission.

Fields

AllowFileDiscovery
Boolean

Whether the permission allows the file or folder to be discovered through search.

This property indicates whether the permission allows the file or folder to which it applies to be discovered through search.

This property is only applicable if the permission's Type is set to 2 (ptDomain) or 3 (ptAnyone).

Domain
String

The domain to which the permission applies.

This property is used to define the domain to which the permission applies when Type is set to 2 (ptDomain).

Email
String

The user or group to which the permission applies.

This property is used to define the user or group to which the permission applies when Type is set to 0 (ptUser) or 1 (ptGroup).

Id
String

The Id of the permission.

This property holds the Id of the permission.

ModOp
TicsGDrivePermissionModOps

The operation to perform on the permission.

This property is used to specify the operation that the component should perform on the permission when UpdatePermissions is called. Valid values are:

moNone (0) (default) No-Op (the component skips the permission).
moCreate (1) The permission will be created.
moUpdate (2) The permission will be updated.
moDelete (3) The permission will be deleted.

Refer to UpdatePermissions for more information.

Role
TicsGDrivePermissionRoles

The role specified by the permission.

This property defines the role specified by the permission. Possible values are:

prReader (0) (default) Read-only permissions.
prCommenter (1) Read-only plus commenting permissions.
prWriter (2) Read, write, and comment permissions.
prOwner (3) Full ownership (personal drives only).
prFileOrganizer (4) Writer permissions, plus the ability to move and trash resources (shared drives only).
prOrganizer (5) File organizer permissions, plus the ability to permanently delete resources from, and rename/delete/alter the membership of, a shared drive (shared drives only).

Type
TicsGDrivePermissionTypes

The set of users to which the permission applies.

This property defines the set of users to which the permission role defined in Role applies.

The Email and Domain 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. Email
1 (ptGroup) A group. Email
2 (ptDomain) A domain. Domain
3 (ptAnyone) Anyone, authenticated or not. N/A

Constructors

constructor Create();

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