PermissionCanDownload Property
If the user can read file content or download the item or from the item.
Syntax
ANSI (Cross Platform)
int GetPermissionCanDownload(int iPermissionIndex);
int SetPermissionCanDownload(int iPermissionIndex, int bPermissionCanDownload);
Unicode (Windows)
BOOL GetPermissionCanDownload(INT iPermissionIndex);
INT SetPermissionCanDownload(INT iPermissionIndex, BOOL bPermissionCanDownload);
- (BOOL)permissionCanDownload:(int)permissionIndex;
- (void)setPermissionCanDownload:(int)permissionIndex:(BOOL)newPermissionCanDownload;
#define PID_SHAREFILE_PERMISSIONCANDOWNLOAD 67
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
TRUE
Remarks
If the user can read file content or download the item or from the item.
This property defines whether the user can download or read 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