IPWorks Cloud 2020 iOS Edition

Questions / Feedback?

resourceAccessType (property)

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

Syntax

- (int)resourceAccessType:(int)resourceIndex;

/* Possible Values */
AT_UNRESTRICTED(0),
AT_READ_ONLY(1),
AT_LIMITED(2),
AT_NO_ACCESS(3)
public func resourceAccessType(resourceIndex: Int32) throws -> DropboxResourceAccessTypes
public enum DropboxResourceAccessTypes : Int32 { case atUnrestricted = 0 case atReadOnly = 1 case atLimited = 2 case atNoAccess = 3 }

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.

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