Class TenantMembershipEntry
- Namespace
- Stratara.Identity.EntityFrameworkCore
- Assembly
- Stratara.Identity.EntityFrameworkCore.dll
EF Core row shape for the tenant_membership table — one user's membership in one
tenant with the tenant-scoped roles the user holds there. Persistence twin of the
TenantMembership contract record.
[ExcludeFromCodeCoverage]
public class TenantMembershipEntry
- Inheritance
-
TenantMembershipEntry
- Inherited Members
- Extension Methods
Properties
Roles
Tenant-scoped role names the user holds within the tenant (JSON column).
public List<string> Roles { get; set; }
Property Value
Status
Lifecycle state of the membership, stored as its enum name.
public MembershipStatus Status { get; set; }
Property Value
TenantId
The tenant the membership belongs to (composite-key part 2).
public Guid TenantId { get; set; }
Property Value
UserId
The user who holds the membership (composite-key part 1).
public Guid UserId { get; set; }