Classes
Methods
# async getUserAvatar(userid) → {Promise.<ApiResponse>}
Get avatar of a user
Parameters:
Name | Type | Description |
---|---|---|
userid |
string
|
The user ID |
Promise.<ApiResponse>
# async getUsers(userids, projectidopt, catalogueidopt, globalGroupsopt, userRolesopt, withInfoopt) → {Promise.<ApiResponse>}
Build user aggregates, optionally including groups, roles, and contact info.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
userids |
Array.<string>
|
Array of user IDs |
||
projectid |
string
|
<optional> |
Project ID |
|
catalogueid |
string
|
<optional> |
Catalogue ID |
|
globalGroups |
boolean
|
<optional> |
false | Include global groups |
userRoles |
boolean
|
<optional> |
false | Include user roles |
withInfo |
boolean
|
<optional> |
false | Include user contact info |
- The response object
Promise.<ApiResponse>