Namespace Stratara.Contracts.Session
Classes
- SessionContext
Dual-identity session context: Actor (who triggered) + the data-owner pair (TenantId, UserId). For 95% of operations Actor equals the data-owner; the distinction only diverges for PlatformAdmin cross-tenant operations, anonymous endpoints, and system/saga flows.
Convention across the codebase: unprefixed properties (
TenantId,UserId) identify the data owner;Actor*properties identify the principal who triggered the write (audit / "who did this"). This matches every otherIMultiTenantentity in the system.