PermissionAllowFileDiscovery Property
Whether the permission allows the file or folder to be discovered through search.
Syntax
ANSI (Cross Platform) int GetPermissionAllowFileDiscovery(int iPermissionIndex);
int SetPermissionAllowFileDiscovery(int iPermissionIndex, int bPermissionAllowFileDiscovery); Unicode (Windows) BOOL GetPermissionAllowFileDiscovery(INT iPermissionIndex);
INT SetPermissionAllowFileDiscovery(INT iPermissionIndex, BOOL bPermissionAllowFileDiscovery);
- (BOOL)permissionAllowFileDiscovery:(int)permissionIndex; - (void)setPermissionAllowFileDiscovery:(int)permissionIndex:(BOOL)newPermissionAllowFileDiscovery;
#define PID_GOOGLEDRIVE_PERMISSIONALLOWFILEDISCOVERY 59 IPWORKSCLOUD_EXTERNAL void* IPWORKSCLOUD_CALL IPWorksCloud_GoogleDrive_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSCLOUD_EXTERNAL int IPWORKSCLOUD_CALL IPWorksCloud_GoogleDrive_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal); IPWORKSCLOUD_EXTERNAL int IPWORKSCLOUD_CALL IPWorksCloud_GoogleDrive_CheckIndex(void *lpObj, int propid, int arridx);
Default Value
FALSE
Remarks
Whether the permission allows the file or folder to be discovered through search.
This property indicates whether the permission allows the file or folder to which it applies to be discovered through search.
This property is only applicable if the permission's PermissionType is set to 2 (ptDomain) or 3 (ptAnyone).
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