IPWorks Cloud 2020 C++ Edition

Questions / Feedback?

PermissionCanDelete Property

If the user can delete the item or from the item.

Syntax

ANSI (Cross Platform)
int GetPermissionCanDelete(int iPermissionIndex);
int SetPermissionCanDelete(int iPermissionIndex, int bPermissionCanDelete); Unicode (Windows) BOOL GetPermissionCanDelete(INT iPermissionIndex);
INT SetPermissionCanDelete(INT iPermissionIndex, BOOL bPermissionCanDelete);
- (BOOL)permissionCanDelete:(int)permissionIndex;
- (void)setPermissionCanDelete:(int)permissionIndex:(BOOL)newPermissionCanDelete;
#define PID_SHAREFILE_PERMISSIONCANDELETE 66

IPWORKSCLOUD_EXTERNAL void* IPWORKSCLOUD_CALL IPWorksCloud_ShareFile_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSCLOUD_EXTERNAL int IPWORKSCLOUD_CALL IPWorksCloud_ShareFile_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
IPWORKSCLOUD_EXTERNAL int IPWORKSCLOUD_CALL IPWorksCloud_ShareFile_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

FALSE

Remarks

If the user can delete the item or from the item.

This property defines whether the user can remove items from the item. To modify this property see UpdatePermission.

The PermissionIndex parameter specifies the index of the item in the array. The size of the array is controlled by the PermissionCount property.

This property is not available at design time.

Data Type

Boolean

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