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.