As described in the previous chapter (see
User identity and multi-tenancy), tenancy is an attribute of a user identity. So, every database connection identity has a tenancy in a multi-tenant database. This tenancy is established at the time the connection identity is established. Tenancy authorizes a user identity to access the data owned by, or accessible to, the tenant configured for their domain in a connected multi-tenant database. Note that a user's domain maps to the name of a tenant organization regardless of the tenant ID in each multi-tenant database.