Tenant representation in multitenancy
Multitenancy uses a tenant ID string to uniquely identify the tenant, its data, and the operations performed by the tenant’s operators. The tenant ID is specified when the tenant is created, and it is stored with other tenant metadata in a new instance of the Data- Admin-Tenant class.
The tenant ID string is used to generate a tenant-specific URL. Tenant operators use the specific URL to access the tenant. This enables the HTTP session to be aware of the tenant context by embedding the tenant ID in each request that is passed to the system. Using this model, the system can track every request by the tenant, thereby providing strict separation of data and rule visibility among tenants.