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, string)

Result of verifying a local user against the external directory.

public DirectoryVerificationResult(DirectoryUserStatus Status, string DirectoryId = null, string DirectoryName = 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.

DirectoryName string

The display name the directory holds for the user, when found. Compared with the local name to offer moving a name in either direction; see DirectoryNames.

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

DirectoryName

The display name the directory holds for the user, when found. Compared with the local name to offer moving a name in either direction; see DirectoryNames.

public string DirectoryName { get; init; }

Property Value

string

Status

The verification outcome.

public DirectoryUserStatus Status { get; init; }

Property Value

DirectoryUserStatus