GET /api-web/api/users/whoami
Deprecated as of version 2023 Spring. Please use the idm-controller endpoints instead.
As of Version | product version 2021 Summer | component version | ||||||
---|---|---|---|---|---|---|---|
Request Method | GET | ||||||
Response Format | JSON | ||||||
Description | This request retrieves the user information of the current logged in user. Per default, Note: Keep in mind that a session cookie is created that may have to be ignored by your custom microservice. whoami: endpoint: http://whoamitest Response HTTP status codes:
| ||||||
Request Example |
no request body | ||||||
Response Example |
{ "accountNonExpired": true, "accountNonLocked": true, "authorities": [ "string" ], "credentialsNonExpired": true, "domain": "string", "email": "string", "enabled": true, "firstname": "string", "foreignid": "string", "id": "string", "lastname": "string", "substituteOf": [ "string" ], "tenant": "string", "title": "string", "type": "string", "username": "string" } |
As of Version | product version 2021 Summer | component version | ||||||
---|---|---|---|---|---|---|---|
Request Method | GET | ||||||
Response Format | JSON | ||||||
Description | This request retrieves the user information of the current logged in user. Per default, Note: Keep in mind that a session cookie is created that may have to be ignored by your custom microservice. whoami: endpoint: http://whoamitest Response HTTP status codes:
| ||||||
Request Example |
no request body | ||||||
Response Example |
{ "accountNonExpired": true, "accountNonLocked": true, "authorities": [ "string" ], "credentialsNonExpired": true, "domain": "string", "email": "string", "enabled": true, "firstname": "string", "foreignid": "string", "id": "string", "lastname": "string", "substituteOf": [ "string" ], "tenant": "string", "title": "string", "type": "string", "username": "string" } |