Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:sidebar:remoteapi:apiref:user:update_item_access [28/01/2013 07:54]
zuve
en:sidebar:remoteapi:apiref:user:update_item_access [29/11/2013 13:31]
Line 1: Line 1:
-{{indexmenu_n>​1}} 
-====== Manage user rights ====== 
  
-To give user access rights to item use command **user/​update_item_access**: ​ 
-<code javascript>​ 
-svc=user/​update_item_access&​params={"​userId":<​long>,​ 
-     "​itemId":<​long>,​ 
-     "​accessMask":<​long>​} 
-</​code>​ 
- 
-===== Parameters ===== 
-^ Name ^ Description ^ 
-| userId | user ID | 
-| itemId | item ID | 
-| accessMask | access mask (see [[../​core/​check_items_billing#​General| Access flags: General]] и [[../​core/​check_items_billing#​Units and unit groups| Access flags: Units and unit groups]])| 
- 
-===== Response ===== 
-<code javascript>​ 
-{} /* empty object if execution successful, if not - error code */ 
-</​code>​ 
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2019 Gurtam