This is an old revision of the document!


Manage user rights

To give user access rights to item use 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 и Access flags: Units and unit groups)

Response

{}	/* empty object if execution successful, if not - error code */
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2019 Gurtam