Table of Contents

Class DirectoryVerificationResult

Namespace
Tharga.Team
Assembly
Tharga.Team.dll

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

Status DirectoryUserStatus

The verification outcome.

DirectoryId string

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.

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

string

Status

The verification outcome.

public DirectoryUserStatus Status { get; init; }

Property Value

DirectoryUserStatus