PREPROD
ReaderAuthor

piper

UserTenant Tenant ID

`UserTenant.tenantId` points to the Tenant that the user is a member of, forming the other side of the organization membership join.

1 min read · 2 depth levelsstratum-piper · vdevMatches production
Everyday

The tenantId on a UserTenant record identifies which Tenant organization this membership is for. Combined with userId, it forms the unique pair that represents a person's membership in an organization. Piper uses tenantId to scope all data queries — ensuring that when a user accesses sites, wells, or results, only records belonging to the correct tenant are returned.

Technical section
Data model, API, and internals — visible to developers.
View as developer →
Was this helpful?