Skip to main content
Table of Contents

Enum MembershipStatus

Namespace
Stratara.Abstractions.Multitenancy
Assembly
Stratara.Abstractions.dll

Lifecycle state of a TenantMembership.

public enum MembershipStatus
Extension Methods

Fields

Active = 0

The user is a full member of the tenant; roles on the membership apply.

Pending = 1

The membership has been offered (invitation) but not yet accepted; it confers no access.

Remarks

Only Active memberships grant access: the membership-backed authorization components (role checks, cross-tenant authorization, sign-in tenant resolution) ignore memberships in any other state. Pending models an invitation that has been issued but not yet accepted — the row already exists so the invitation can be listed and accepted transactionally, but it confers no rights until it is activated.