Class DirectoryVerificationResult
Result of verifying a local user against the external directory.
public sealed record DirectoryVerificationResult : IEquatable<DirectoryVerificationResult>
- Inheritance
-
DirectoryVerificationResult
- Implements
- Inherited Members
Constructors
DirectoryVerificationResult(DirectoryUserStatus, string)
Result of verifying a local user against the external directory.
public DirectoryVerificationResult(DirectoryUserStatus Status, string DirectoryId = null)
Parameters
StatusDirectoryUserStatusThe verification outcome.
DirectoryIdstringThe directory id the user resolved to, when found. May differ from the id stored on the local user (e.g. resolved via email fallback for a user created before directory ids were captured) — callers should persist it so the user is linked for subsequent operations.
Properties
DirectoryId
The directory id the user resolved to, when found. May differ from the id stored on the local user (e.g. resolved via email fallback for a user created before directory ids were captured) — callers should persist it so the user is linked for subsequent operations.
public string DirectoryId { get; init; }
Property Value
Status
The verification outcome.
public DirectoryUserStatus Status { get; init; }