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 15:30]
127.0.0.1 external edit
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 17: Line 17:
 { {
    "<​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 user ids (if any) */
     },     },
     ... /* other unit ids (if requested) */     ... /* other unit ids (if requested) */
 } }
 </​code>​ </​code>​
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2024 Gurtam