Base solution for your next web application
Open Closed

Can we get all users in specific tenantId Or get all users of all tenants as admin of the host ([email protected])? #6676


User avatar
0
it.soft.mgr created

Hi AspNet Zero support team,

Can we get all users in specific tenantId? Or get all users of the application as admin of the host ([email protected])? When I use UserManager I only get the current user info. Please give us your advice.

Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)

2 Answer(s)
  • User Avatar
    0
    ryancyq created
    Support Team

    you can disable tenant filters (IMustHaveTenant/IMayHaveTenant) when you call UserManager.

    See https://aspnetboilerplate.com/Pages/Documents/Data-Filters#disable-filters

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    it.soft.mgr created

    Thanks ryancyq, as link you provided, I searched and find my solution in here: https://aspnetboilerplate.com/Pages/Documents/Abp-Session

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)