Class PrincipalStatusResult
- Namespace
- Excalibur.A3.Governance.OrphanedAccess
- Assembly
- Excalibur.A3.Governance.Abstractions.dll
The result of a principal status query, including when the status last changed.
public sealed record PrincipalStatusResult : IEquatable<PrincipalStatusResult>
- Inheritance
-
PrincipalStatusResult
- Implements
- Inherited Members
Constructors
PrincipalStatusResult(PrincipalStatus, DateTimeOffset?)
The result of a principal status query, including when the status last changed.
public PrincipalStatusResult(PrincipalStatus Status, DateTimeOffset? StatusChangedAt)
Parameters
StatusPrincipalStatusThe current status of the principal.
StatusChangedAtDateTimeOffset?When the status last changed, or null if unknown. Used by the orphaned access detector to evaluate grace periods for inactive users.
Properties
Status
The current status of the principal.
public PrincipalStatus Status { get; init; }
Property Value
StatusChangedAt
When the status last changed, or null if unknown. Used by the orphaned access detector to evaluate grace periods for inactive users.
public DateTimeOffset? StatusChangedAt { get; init; }