IPWorks Cloud 2020 C++ Edition

Questions / Feedback?

ResourceAccessType Property

The type of access the current user has to the resource.

Syntax

ANSI (Cross Platform)
int GetResourceAccessType(int iResourceIndex);

Unicode (Windows)
INT GetResourceAccessType(INT iResourceIndex);

Possible Values

AT_UNRESTRICTED(0), 
AT_READ_ONLY(1),
AT_LIMITED(2),
AT_NO_ACCESS(3)
- (int)resourceAccessType:(int)resourceIndex;

Possible Values

AT_UNRESTRICTED(0), 
AT_READ_ONLY(1),
AT_LIMITED(2),
AT_NO_ACCESS(3)
#define PID_DROPBOX_RESOURCEACCESSTYPE 48

IPWORKSCLOUD_EXTERNAL void* IPWORKSCLOUD_CALL IPWorksCloud_Dropbox_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);

IPWORKSCLOUD_EXTERNAL int IPWORKSCLOUD_CALL IPWorksCloud_Dropbox_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

0

Remarks

The type of access the current user has to the resource.

This property reflects the type of access the current user has to the resource. Possible values are:

0 (atUnrestricted) The user's access to the resource is not restricted.
1 (atReadOnly) The user has read-only access to the resource. This indicates that the resource is, or is located within, a read-only shared folder.
2 (atLimited) The user has limited access to the immediate contents of the folder resource (by virtue of having access to one or more other resources located somewhere within the folder). See further notes below. Only applicable to folders.
3 (atNoAccess) The user is allowed to see that the folder resource exists, but may not access its contents. Only applicable to folders.

An access type of 2 (atLimited) still allows the user to call ListResources for a folder, but the results will be limited to the subset of resources within that folder that the user can actually access (including any further limited-access subfolders).

The ResourceIndex parameter specifies the index of the item in the array. The size of the array is controlled by the ResourceCount property.

This property is read-only and not available at design time.

Data Type

Integer

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