Cloud Storage Integrator - Online Help
Cloud Storage Integrator
Questions / Feedback?

PermissionList Event

This event fires once for each permission returned when calling ListPermissions.

Syntax

typedef void __fastcall (__closure *TicsGoogleDrivePermissionListEvent)(System::TObject* Sender, TicsGoogleDrivePermissionListEventParams *e);

__property TicsGoogleDrivePermissionListEvent OnPermissionList = {read=FOnPermissionList, write=FOnPermissionList};

typedef struct {
     String Id;
     String ETag;
     int Role;
     int PermissionType;
     String Value;
} TicsGoogleDrivePermissionListEventParams;

Remarks

When calling ListPermissions this event will fire once for each permission that is returned.

Id is the Id of the permission.

ETag is the ETag of the permission.

Role is the role of the permission. Possible values are:

0 Read-only.
1 Read and write permissions.
2 Full ownership.

PermissionType identifies the type of the permission. Possible values are:

0 A single user.
1 A group.
2 A domain.
3 Anyone, authenticated or not.

Value holds the identity corresponding to the PermissionType. This may be an email address for a single user or a group, or a domain.

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 1.0.6240.0