Class TenantSuperAdminAuditLogEntry
Append-only audit trail for tenant-super-admin membership changes.
Writes happen in the same transaction as the corresponding mutation on TenantSuperAdmin, so the log cannot desync from the membership table.
public sealed class TenantSuperAdminAuditLogEntry
- Inheritance
-
objectTenantSuperAdminAuditLogEntry
Properties
ActorUserId
public Guid? ActorUserId { get; }
Property Value
- Guid?
EventType
public string EventType { get; }
Property Value
- string
Id
public Guid Id { get; }
Property Value
- Guid
Metadata
public string? Metadata { get; }
Property Value
- string
OccurredAtUtc
public DateTime OccurredAtUtc { get; }
Property Value
- DateTime
Reason
public string? Reason { get; }
Property Value
- string
TargetUserId
public Guid TargetUserId { get; }
Property Value
- Guid
TenantId
public Guid TenantId { get; }
Property Value
- Guid
Methods
Granted(Guid, Guid, Guid?, string)
public static TenantSuperAdminAuditLogEntry Granted(Guid tenantId, Guid targetUserId, Guid? actorUserId, string reason)
Parameters
tenantIdGuidtargetUserIdGuidactorUserIdGuid?reasonstring
Returns
ReGranted(Guid, Guid, Guid, string)
public static TenantSuperAdminAuditLogEntry ReGranted(Guid tenantId, Guid targetUserId, Guid actorUserId, string reason)
Parameters
tenantIdGuidtargetUserIdGuidactorUserIdGuidreasonstring
Returns
Revoked(Guid, Guid, Guid, string)
public static TenantSuperAdminAuditLogEntry Revoked(Guid tenantId, Guid targetUserId, Guid actorUserId, string reason)
Parameters
tenantIdGuidtargetUserIdGuidactorUserIdGuidreasonstring