[**Documentation**](../../../README)

***

[Documentation](../../../README) / [@zerotal/tenancy](../README) / Tenant

# Variable: Tenant

> `const` **Tenant**: [`Tenancy`](../classes/Tenancy)

Defined in: [tenancy/src/facades/Tenant.ts:25](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/tenancy/src/facades/Tenant.ts#L25)

Tenant facade — the primary entry point to tenancy.

## Example

```ts
import { Tenant } from "@zerotal/tenancy";

Tenant.current();           // the active tenant (or null)
Tenant.check();             // is there an active, enabled tenant?
await Tenant.members();     // hydrated User models
await Tenant.update({ name }); // admin-gated

(The `Tenant` *type* — the tenant record shape — is exported separately and
coexists with this value, so `Tenant.current(): Tenant` reads naturally.)
```
