Skip to main content
Table of Contents

Class ActiveTenantEntry

Namespace
Stratara.Identity.EntityFrameworkCore
Assembly
Stratara.Identity.EntityFrameworkCore.dll

EF Core row shape for the active_tenant table — a user's explicit selection of which of their tenant memberships is the active one at sign-in (the tenant-switch persistence). At most one row per user.

[ExcludeFromCodeCoverage]
public class ActiveTenantEntry
Inheritance
ActiveTenantEntry
Inherited Members
Extension Methods

Properties

TenantId

The tenant the user selected as active.

public Guid TenantId { get; set; }

Property Value

Guid

UserId

The user the selection belongs to (primary key).

public Guid UserId { get; set; }

Property Value

Guid