Base solution for your next web application
Open Closed

How to get all users in DoWork Method. #5547


User avatar
0
velu created

Hi,

I need all users in the DoWork method.

But we get an error. Eg: var users = _userManager.Users;

Please help us in this.

Also, _repository.getall() not working in the DoWork method.

Thanks.


1 Answer(s)
  • User Avatar
    0
    velu created

    Hi,

    Solved using IAbpSession

    We have created a dummy session and issue has been solved.

    Thanks.