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 */
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2024 Gurtam