Table of Contents

Class DirectoryNames

Namespace
Tharga.Team
Assembly
Tharga.Team.dll

Rules for comparing a local user's name with the display name an external directory holds.

public static class DirectoryNames
Inheritance
DirectoryNames
Inherited Members

Fields

Placeholder

The display name Entra External ID gives an account whose sign-up flow collected none.

public const string Placeholder = "unknown"

Field Value

string

Methods

Differ(string, string)

True when the local name and the directory name disagree and at least one of them is a real name — two placeholders have nothing to move in either direction.

public static bool Differ(string localName, string directoryName)

Parameters

localName string
directoryName string

Returns

bool

IsPlaceholder(string)

True when name is not a real name: empty, or the directory's placeholder in any case. A placeholder is never taken into this application.

public static bool IsPlaceholder(string name)

Parameters

name string

Returns

bool