Base solution for your next web application
Open Closed

AbpUsers vs AbpUserAccounts? #2248


User avatar
0
herbertmilhomme created

In the database, whats the difference between the two tables? What purpose does UserAccount serve? Users table has all of the same fields and more


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    When someone uses DB per tenant architecture, some of tenant's user tables will be stored in a seperate database. In this case, it is hard to query all users in the whole system.

    UserAccounts table is a copy of all tenant's users tables stored in host database. In this way we can query all users from a single table at once. We have used this for linking users to each other.