Base solution for your next web application
Open Closed

How to get TenantId based on user name or email. Global. #5889


User avatar
0
mohamedaarif created

How to get TenantId based on user name or email. Global.

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

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

    Multiple tenants may have the same username or email address. So can't get accurate

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    ismcagdas created
    Support Team

    @mohamedaarif

    You can create a custom Tenant resolver, see https://aspnetboilerplate.com/Pages/Documents/Multi-Tenancy#determining-current-tenant but I agree with @maliming.

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