PermissionList Event

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

Syntax

class ShareFilePermissionListEventParams {
public:
  const QString &FolderId();
  const QString &UserId();
  bool CanDelete();
  bool CanDownload();
  bool CanManagePermissions();
  bool CanUpload();
  bool CanView();
  bool IsOwner();
  bool NotifyOnDownload();
  bool NotifyOnUpload();
  int EventRetVal();
  void SetEventRetVal(int iRetVal);
};
// To handle, connect one or more slots to this signal. void PermissionList(ShareFilePermissionListEventParams *e);
// Or, subclass ShareFile and override this emitter function. virtual int FirePermissionList(ShareFilePermissionListEventParams *e) {...}

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