How to get extra property of current user in angular
- Your ABP Framework version.: 4.4.2 Commercial
- Your User Interface type: Angular
- Your database provider: EF Core
I added an extra property to IdentityUser by following this article . Now I want to be able to use it in Angular app when I get current user by ConfigStateService. I guess I should override the GetCurrentUser in AbpApplicationConfigurationAppService but it's in Volo.Abp.AspNetCore.Mvc project which isn't directly referenced by any of the projects in application startup template. Should I add the reference in .Application project, override the app service somewhere else or create my own app service just to load current user with extra properties?
I think you don't need to do anything to get the extra property of the current user. we may need to revise it.
@ebicoglu How do I get it then? When I get current user by ConfigStateService there are no extra properties