IPWorks Cloud 2020 C++ Builder Edition

Questions / Feedback?

PermissionList Event

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

Syntax

typedef struct {
  String FolderId;
  String UserId;
  bool CanDelete;
  bool CanDownload;
  bool CanManagePermissions;
  bool CanUpload;
  bool CanView;
  bool IsOwner;
  bool NotifyOnDownload;
  bool NotifyOnUpload;
} TicsShareFilePermissionListEventParams;

typedef void __fastcall (__closure *TicsShareFilePermissionListEvent)(System::TObject* Sender, TicsShareFilePermissionListEventParams *e);

__property TicsShareFilePermissionListEvent OnPermissionList = { 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 C++ Builder Edition - Version 20.0 [Build 8265]