PermissionList Event
This event fires once for each permission returned when calling ListPermissions.
Syntax
Sub googledrivecontrol_PermissionList(Id As String, ETag As String, Role As Integer, PermissionType As Integer, Value As String)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.