How Do I use Volo.Abp.Users.IUserLookupService #18053
Unanswered
alexkleinwaechter
asked this question in
Q&A
Replies: 1 comment
-
You can get current user by The |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I try to inject IUserLookupService to my Appservice in order to enrich DTO's with user data like name and email.
I tried to follow instructions in this issue: #773
In version 7.4 the IUserLookupService needs apparently a UserType.
I tried it with:
IUserLookupService<IUser> _userLookupService
and
IUserLookupService<IdentityUser> _userLookupService
But I get the followin error:
Cannot resolve parameter 'Volo.Abp.Users.IUserLookupService`1[Volo.Abp.Users.IUser] userLookupService'
Do I misunderstand something important?
It really should be easy to get some user context information in ABP.
Best!
Alex
Beta Was this translation helpful? Give feedback.
All reactions