- ABP Framework version: v3.0.5
- UI type: Angular
- Tiered (MVC) or Identity Server Seperated (Angular): no
Hi,
I want to get user info like FirstName, LastName in "currentUser" object in Angular side. Please share steps to add extra info in "currentUser" object.
To be specific, my usecase here is to show FirstName LastName instead of username in User Logged in section on right side.
Thanks.
2 Answer(s)
-
0
Hi,
Any update on this? I don't want to call extra api to get the other user info.
-
0
hi,
This information is not available on the currentUser object at the moment. I have discussed it with the team and it'll be added to the currentUser which comes from http://domain.com/api/abp/application-configuration I've created an internal issue for this (for v3.2)
Until this is implemented, you can use this URL to get the user's name surname: http://domain.com/api/identity/my-profile