Current User¶
Me¶
HTTP Request
GET /api/user/me
📋 Description: Retrieves the current user’s profile information, providing essential details for personalized user experiences and account management.
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "password": "string",
3 "username": "string",
4 "authorities": [
5 {
6 "authority": "string"
7 }
8 ],
9 "accountNonExpired": true,
10 "accountNonLocked": true,
11 "credentialsNonExpired": true,
12 "enabled": true,
13 "id": 0,
14 "accountId": 0,
15 "fullName": "string",
16 "firstName": "string",
17 "lastName": "string",
18 "email": "string",
19 "audience": [
20 "string"
21 ],
22 "realm": "string",
23 "client": "string",
24 "accessTokenExpiry": 0,
25 "accountName": "string",
26 "environmentName": "string",
27 "serviceAccount": true,
28 "tokenIssuer": "string",
29 "profile": "string",
30 "ncpRoles": [
31 "string"
32 ],
33 "coreServiceRoles": [
34 "string"
35 ]
36}
Get Current User Info¶
HTTP Request
GET /api/user/current-user-info
📋 Description: Retrieves the current user’s profile information, enabling personalized experiences and streamlined access to user-specific features within the application.
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "id": 0,
3 "createdBy": "string",
4 "createdAt": "2019-08-24T14:15:22Z",
5 "userName": "string",
6 "firstName": "string",
7 "lastName": "string",
8 "email": "string",
9 "roleIds": [
10 {
11 "id": 0,
12 "createdBy": "string",
13 "createdAt": "2019-08-24T14:15:22Z",
14 "modifiedBy": "string",
15 "modifiedAt": "2019-08-24T14:15:22Z",
16 "roleName": "string",
17 "entity": "string",
18 "new": true
19 }
20 ],
21 "internalTeamNames": [
22 "string"
23 ],
24 "internalTeamIds": [
25 0
26 ],
27 "internalTeamDisplayIds": [
28 "string"
29 ],
30 "premiseIds": [
31 0
32 ],
33 "premiseNames": [
34 "string"
35 ],
36 "userAvailable": true,
37 "temporaryWorkload": 0,
38 "preferredCultureCode": "string"
39}