0
hraval created
- 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.
Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
2 Answer(s)
-
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
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)