get_items_by_access

This request returns all the objects of the specified type to which the indicated user has at least the specified access level. The request returns a list of matching item IDs. It can be useful if you use a lot of user/get_items_access requests.

Request

Copied!
svc=user/get_items_by_access&params={
										"userId":<long>,
										"itemSuperclass":"<text>",
										"reqAccess":<long>
				   					}

Parameters

ParameterDescription
userIdUser ID. 
itemSuperclassObject type.
reqAccessRequired access rights.

Response

Copied!
{
	"ids":[
			<long>,
			<long>,
			...
		  ]
}

Error codes

Error codeDescription
7Failed to fetch the current user or the specified user with ACL (ADF_ACL_USER_SET_ITEMS_ACCESS).
Download PDF file
Download Word document

See also