Table of Contents

Manage user rights

To give a user access rights to an item, use the command user/update_item_access:

svc=user/update_item_access&params={"userId":<long>,
				    "itemId":<long>,
				    "accessMask":<long>}

Parameters

Name Description
userId user ID
itemId item ID
accessMask access mask (see Access flags: General and Access flags: Units and unit groups)

Response

{}	/* empty object if execution successful, if not - error code */