IPWorks Cloud 2020 JavaScript Edition

Questions / Feedback?

CreatePermissionOptions Property

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

Syntax


 getCreatePermissionOptions(): ShareFilePermission;

 setCreatePermissionOptions(createPermissionOptions: ShareFilePermission): void;

Default Value

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;

This property is not available at design time.

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