Summary
Get Current User
Description
Get the current user logged in the system.
Route
GET /service_catalog/GetUserObject
Roles
admin
engineering
support
apiread
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
This method has no parameters |
Copied to Clipboard
{
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
username |
object |
Return the username and the user group's names. |
Copied to Clipboard
{
"accountId": "5c8bff0370102c001502d1f7",
"provenance": "Local AAA",
"username": "admin@pronghorn",
"token": "ZmFjZDNmM2E5OGFiNzBiMjJjODFmYmZmYjI1MGU0MDc=",
"groups": [
{
"_id": "fe1bfeee-61b8-404d-aefc-dc57be92ff02",
"provenance": "Local AAA",
"name": "pronghorn_admin",
"description": "pronghorn_admin",
"memberOf": [
"group1",
"group1"
],
"assignedRoles": [
"admin",
"engineer",
"admin",
"engineer"
],
"inactive": false,
"_meta": {
"created": "2019-03-15T19:37:39.112Z",
"updated": "2019-03-15T19:37:39.112Z"
}
},
{
"_id": "fe1bfeee-61b8-404d-aefc-dc57be92ff02",
"provenance": "Local AAA",
"name": "pronghorn_admin",
"description": "pronghorn_admin",
"memberOf": [
"group1",
"group1"
],
"assignedRoles": [
"engineer",
"engineer",
"admin"
],
"inactive": false,
"_meta": {
"created": "2019-03-15T19:37:39.112Z",
"updated": "2019-03-15T19:37:39.112Z"
}
},
{
"_id": "fe1bfeee-61b8-404d-aefc-dc57be92ff02",
"provenance": "Local AAA",
"name": "pronghorn_admin",
"description": "pronghorn_admin",
"memberOf": [
"group1",
"group1",
"group1",
"group1",
"group1"
],
"assignedRoles": [
"engineer",
"admin",
"admin",
"engineer"
],
"inactive": false,
"_meta": {
"created": "2019-03-15T19:37:39.112Z",
"updated": "2019-03-15T19:37:39.112Z"
}
}
]
}