Table of Contents

Class TenantSuperAdminDto

Namespace
KadicAuth.Application.TenantSuperAdmins.DTOs
Assembly
KadicAuth.Application.dll

Read model exposed by the TenantSuperAdminController. Deliberately omits internal metadata to keep the listing lean; consumers that need the full history can query the audit log separately.

public sealed record TenantSuperAdminDto
Inheritance
object
TenantSuperAdminDto

Constructors

TenantSuperAdminDto(Guid, Guid, string?, string?, bool, Guid?, DateTime, string, DateTime?, Guid?)

Read model exposed by the TenantSuperAdminController. Deliberately omits internal metadata to keep the listing lean; consumers that need the full history can query the audit log separately.

public TenantSuperAdminDto(Guid UserId, Guid TenantId, string? Username, string? Email, bool IsActive, Guid? GrantedByUserId, DateTime GrantedAtUtc, string Reason, DateTime? RevokedAtUtc, Guid? RevokedByUserId)

Parameters

UserId Guid
TenantId Guid
Username string
Email string
IsActive bool
GrantedByUserId Guid?
GrantedAtUtc DateTime
Reason string
RevokedAtUtc DateTime?
RevokedByUserId Guid?

Properties

Email

public string? Email { get; init; }

Property Value

string

GrantedAtUtc

public DateTime GrantedAtUtc { get; init; }

Property Value

DateTime

GrantedByUserId

public Guid? GrantedByUserId { get; init; }

Property Value

Guid?

IsActive

public bool IsActive { get; init; }

Property Value

bool

Reason

public string Reason { get; init; }

Property Value

string

RevokedAtUtc

public DateTime? RevokedAtUtc { get; init; }

Property Value

DateTime?

RevokedByUserId

public Guid? RevokedByUserId { get; init; }

Property Value

Guid?

TenantId

public Guid TenantId { get; init; }

Property Value

Guid

UserId

public Guid UserId { get; init; }

Property Value

Guid

Username

public string? Username { get; init; }

Property Value

string