PermissionList Event
This event fires once for each permission returned when ListPermissions or GetPermissionInfo is called.
Syntax
sharefile.on('PermissionList', [callback])
Callback
The 'callback' is called when the 'PermissionList' event is emited.
function(e){ }
The argument 'e' has the following properties:
e.folderId e.userId e.canDelete e.canDownload e.canManagePermissions e.canUpload e.canView e.isOwner e.notifyOnDownload e.notifyOnUpload
Remarks
This event fires once for each permission returned when ListPermissions or GetPermissionInfo is called. The permissions cannot be modified from this event. The FolderId represents the item Id for the specific folder the permission is for. The UserId represents the Id for the user the permission is for.