IPWorks Cloud 2020 macOS Edition

Questions / Feedback?

CreatePermissionOptions Property

Used to set the different options when creating a new permission.

Syntax

public var createPermissionOptions: ShareFilePermission {
get {...}
set {...} }

Remarks

Used to set the different options when creating a new permission. If CanDownload is set to true, CanView will automatically be set to true. If CanDownload is set to false, CanDelete will be set to false. These options can be set:

  • CanDelete
  • CanDownload
  • CanManagePermissions
  • CanUpload
  • CanView
  • NotifyOnDownload
  • NotifyOnUpload

ShareFilePermission permission = new ShareFilePermission();
permission.CanDelete = true;
permission.CanDownload = true;
permission.CanManagePermissions = true;
permission.CanUpload = true;
permission.CanView = true;
permission.NotifyOnDownload = true;
permission.NotifyOnUpload = true;
shareFile.CreatePermissionOptions = permission;

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