0
fourier created
Hi,
Is it possible to get the current user data from the Core project inside one of my Manager classes that implements functions with the [UnitOfWork] attribute?
1 Answer(s)
-
0
Hi,
You can inject IAbpSession and UserManager into your class and use UserManager's methods to get current user info. Basically,
_userManager.GetUserOrNull(_abpSession.ToUserIdentifier());