IPWorks Cloud 2020 Delphi Edition

Questions / Feedback?

PermissionList Event

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

Syntax

type TPermissionListEvent = procedure (
  Sender: TObject;
  const FolderId: String;
  const UserId: String;
  CanDelete: Boolean;
  CanDownload: Boolean;
  CanManagePermissions: Boolean;
  CanUpload: Boolean;
  CanView: Boolean;
  IsOwner: Boolean;
  NotifyOnDownload: Boolean;
  NotifyOnUpload: Boolean
) of Object;

property OnPermissionList: TPermissionListEvent read FOnPermissionList write FOnPermissionList;

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 Delphi Edition - Version 20.0 [Build 8265]