Base solution for your next web application
Open Closed

Assign Tenant based on the user Logging in. #6414


User avatar
0
suruat created

We are building a muti-tenant system using the Asp.net Core/ Angular2+ solution. However we don't want users to be responsible for passing the Tenancy name in (via subdomain, or via a form). We want to get the tenant based on the user that is logging in (we are using the single db approach).

I am assuming we need to enforce that every user that is created, including tenant admin users must have unique usernames. Correct?

What is the best way to implement this? What do we need to change in the angular side and the Api side?

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

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

    Duplicate of #1901.

    Also, see https://aspnetboilerplate.com/Pages/Documents/Data-Filters#disable-filters.

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