IPWorks Cloud 2020 Android Edition

Questions / Feedback?

CreatePermissionOptions Property

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

Syntax

public ShareFilePermission getCreatePermissionOptions();
public void setCreatePermissionOptions(ShareFilePermission createPermissionOptions);

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.

Default Value

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