IPWorks Cloud 2020 JavaScript Edition

Questions / Feedback?

PermissionList Event

This event fires once for each permission returned when ListPermissions or GetPermissionInfo is called.

Syntax

sharefile.on('PermissionList', listener: (e: {readonly folderId: string, readonly userId: string, readonly canDelete: boolean, readonly canDownload: boolean, readonly canManagePermissions: boolean, readonly canUpload: boolean, readonly canView: boolean, readonly isOwner: boolean, readonly notifyOnDownload: boolean, readonly notifyOnUpload: boolean}) => void )

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.

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