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
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
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
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
Deprecated
Principal User Controller Operations
PUT
Update User Preferences
Deprecated
GET
Get Principal User Profile
Deprecated
PATCH
Update User Profile
Deprecated
GET
Get User Orgs
Deprecated
GET
Get Logged In User
Deprecated
GET
Get User Org Service Roles
Deprecated
GET
Get User Org Roles
Deprecated
GET
Get User Org Info
Deprecated
GET
Get Logged In User Groups On Org
Deprecated
GET
Get Logged In User Details
Deprecated
GET
Get User Default Org
Deprecated