Class TenantUserRemovedEvent
- Namespace
- Compendium.Core.Domain.Events.Integration
- Assembly
- Compendium.Core.dll
Integration event raised when a user is removed from a tenant.
public sealed record TenantUserRemovedEvent : IntegrationEventBase, IIntegrationEvent, IEquatable<IntegrationEventBase>, IEquatable<TenantUserRemovedEvent>
- Inheritance
-
TenantUserRemovedEvent
- Implements
- Inherited Members
Constructors
TenantUserRemovedEvent(string, string, string, DateTimeOffset, string?)
Integration event raised when a user is removed from a tenant.
public TenantUserRemovedEvent(string TenantId, string UserId, string Email, DateTimeOffset RemovedAt, string? RemovedBy)
Parameters
TenantIdstringThe unique identifier of the tenant.
UserIdstringThe unique identifier of the user.
EmailstringThe user's email address.
RemovedAtDateTimeOffsetThe timestamp when the user was removed.
RemovedBystringThe identifier of the user who removed this user.
Properties
The user's email address.
public string Email { get; init; }
Property Value
EventType
Gets the name of the event type for serialization and routing purposes.
public override string EventType { get; }
Property Value
RemovedAt
The timestamp when the user was removed.
public DateTimeOffset RemovedAt { get; init; }
Property Value
RemovedBy
The identifier of the user who removed this user.
public string? RemovedBy { get; init; }
Property Value
UserId
The unique identifier of the user.
public string UserId { get; init; }