Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:sidebar:remoteapi:apiref:core:check_accessors [12/03/2015 14:29]
mast
en:sidebar:remoteapi:apiref:core:check_accessors [09/10/2015 08:50]
stan [Response]
Line 1: Line 1:
 {{indexmenu_n>​5}} {{indexmenu_n>​5}}
-====== Getting unit access rights list for child accounts ​====== +====== Getting unit access rights list for child users ====== 
-In order to get unit access rights list for child accounts ​please invoke ​ **core/​check_accessors** command:+In order to get unit access rights list for child users please invoke ​ **core/​check_accessors** command:
  
 <code javascript>​ <code javascript>​
Line 16: Line 16:
 <​code=javascript>​ <​code=javascript>​
 { {
- "<​unit_id>":​ { /* unit id */ +   "<​unit_id>":​ { /* unit id */ 
- "<​acc_id>":​ { /* account ​id */ + "<​acc_id>":​ { /* user id */ 
- "​acl":​ <​uint>,​ /​* inherited unit access rights, they are put as mask on direct access rights, + "​acl":​ <​uint>,​ /​* inherited unit access rights, they are put as mask on direct access rights, 
-    if inherited access rights prohibit -- result access right prohibit */ +    if inherited access rights prohibit -- result access right prohibit */ 
- "​dacl":​ <​uint>​ /​* if flags:1 set; direct unit access rights ​ (set by unit owner) */ + "​dacl":​ <​uint>​ /​* if flags:1 set; direct unit access rights ​ (set by unit owner) */
- }, +
- ... /* other account ids (if any) */ +
  },  },
- ... /* other unit ids (if requested) */+ ... /* other user ids (if any) */  
 +    }, 
 +    ... /* other unit ids (if requested) */
 } }
 </​code>​ </​code>​
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2024 Gurtam