Get Logged In User

Get Logged In User

Use this API instead:

  • /oidc/userinfo

Access Policy

Role Access
Platform operator ✔️
Organization Owner ✔️
Organization Member ✔️
Service Account (Whitelisted Client) ✔️
Request
URI
GET
https://vra-interop-222-139.lvn.broadcom.net/csp/gateway/am/api/loggedin/user
COPY
Query Parameters
boolean
expand
Optional
Constraints: default: false

expand


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns User of type(s) */*
{
    "id": "string",
    "firstName": "string",
    "lastName": "string",
    "username": "string",
    "acct": "string",
    "password": "string",
    "email": "string",
    "refLink": "string",
    "groups": [
        "string"
    ],
    "userProfile": {
        "defaultOrgId": "string",
        "isFederated": false,
        "linkedUserIdAccount": "string",
        "customerNumber": "string",
        "locale": "string",
        "language": "string"
    },
    "managerId": "string"
}
string
id
Optional

id

string
firstName
Optional

firstName

string
lastName
Optional

lastName

string
username
Optional

username

string
acct
Optional

acct

string
password
Optional

password

string
email
Optional

email

string
refLink
Optional

refLink

array of string
groups
Optional

groups

object
userProfile
Optional

userProfile

string
managerId
Optional

CSP user response doesn't contain managerId property.


401

The user is not authorized to use the API.

Returns User of type(s) */*
"User Object"
string
id
Optional

id

string
firstName
Optional

firstName

string
lastName
Optional

lastName

string
username
Optional

username

string
acct
Optional

acct

string
password
Optional

password

string
email
Optional

email

string
refLink
Optional

refLink

array of string
groups
Optional

groups

object
userProfile
Optional

userProfile

string
managerId
Optional

CSP user response doesn't contain managerId property.


Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/csp/gateway/am/api/loggedin/user