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
Last revision Both sides next 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:49]
stan [Getting unit access rights list for child accounts]
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>":​ { /* account 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 account 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