To give a user access rights to an item, use the command user/update_item_access:
svc=user/update_item_access¶ms={"userId":<long>, "itemId":<long>, "accessMask":<long>}
Name | Description |
---|---|
userId | user ID |
itemId | item ID |
accessMask | access mask (see Access flags: General and Access flags: Units and unit groups) |
{} /* empty object if execution successful, if not - error code */
|