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

PermissionList Event

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

Syntax

googledrive.on('PermissionList', [callback])

Callback

The 'callback' is called when the 'PermissionList' event is emited.

function(e){ }

The argument 'e' has the following properties:

e.id
e.ETag
e.role
e.permissionType
e.value

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