CreatePermissionOptions Property
Used to set the different options when creating a new permission.
Syntax
property CreatePermissionOptions: TicsShareFilePermission read get_CreatePermissionOptions write set_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.