inTenantScope property
bool
inTenantScope
True if we are in tenant mode as the user called withTenant and we have not been bypassed.
Implementation
static bool get inTenantScope =>
Scope.hasScopeKey<int>(tenantIdKey) && !inTenantBypassScope;