![]() |
Infohub JS API
|
Functions to get scope information from infohub.
Public Member Functions | |
| constructor (ctx) | |
| async | createScope (ScopeInfo_new) |
| async | deleteScope (id) |
| async | getLicencesOfScope (scopeid) |
| async | getScopeById (scopeid) |
| async | getScopeGroups (id, query) |
| async | getScopeRoles (id, query) |
| async | getScopesOfUser (userid) |
| async | updateScope (id, ScopeInfo_update) |
| constructor | ( | ctx | ) |
| {Context} | ctx - Context instance |
| async createScope | ( | ScopeInfo_new | ) |
| async deleteScope | ( | id | ) |
| async getLicencesOfScope | ( | scopeid | ) |
| async getScopeById | ( | scopeid | ) |
| async getScopeGroups | ( | id, | |
| query ) |
Get scope groups.
| {string} | id - Scope ID |
| {object} | query - Query object containing filter, members, etc. |
| {string} | [query.filter] - Filter |
| {string} | [query.members] - Members |
| async getScopeRoles | ( | id, | |
| query ) |
Get scope roles.
| {string} | id - Scope ID |
| {object} | query - Query object containing filter, members, etc. |
| {string} | [query.filter] - Filter |
| {string} | [query.members] - Members |
| async getScopesOfUser | ( | userid | ) |
Get scopes of a user by user ID.
| {string} | userid - User ID |