Table of Contents

Class EntraDirectoryObject

Namespace
CENTREL.XIA.Configuration.Types
Assembly
CENTREL.XIA.Configuration.Types.dll

Represents an Entra directory object.

public class EntraDirectoryObject : GlobalSerializableBase, IComparable<EntraDirectoryObject>
Inheritance
EntraDirectoryObject
Implements

Constructors

EntraDirectoryObject()

Initializes a new instance of the CENTREL.XIA.Configuration.Types.EntraDirectoryObject class.

public EntraDirectoryObject()

Properties

CollectionIndex

Gets the collection index used by the data comparer.

[Browsable(false)]
public string CollectionIndex { get; }

Property Value

string

DirectoryObjectType

Gets or sets the type of directory object.

public EntraDirectoryObjectType DirectoryObjectType { get; set; }

Property Value

EntraDirectoryObjectType

DirectoryObjectTypeString

Gets the type of directory object as a human readable string.

public string DirectoryObjectTypeString { get; set; }

Property Value

string

DisplayName

Gets or sets the display name of the directory object.

public string DisplayName { get; set; }

Property Value

string

Identifier

Gets or sets the unique identifier of the directory object.

public Guid Identifier { get; set; }

Property Value

Guid

IdentityName

Gets or sets the identity name.

public string IdentityName { get; set; }

Property Value

string

Methods

CompareTo(EntraDirectoryObject)

Compares two CENTREL.XIA.Configuration.Types.EntraDirectoryObject objects to allow sorting alphabetically by display name.

public int CompareTo(EntraDirectoryObject other)

Parameters

other EntraDirectoryObject

The CENTREL.XIA.Configuration.Types.EntraDirectoryObject to compare to.

Returns

int

The sort order of the two CENTREL.XIA.Configuration.Types.EntraDirectoryObject objects.

CreateDirectory()

Creates a directory object to represent the directory itself.

public static EntraDirectoryObject CreateDirectory()

Returns

EntraDirectoryObject

A CENTREL.XIA.Configuration.Types.EntraDirectoryObject that represents the directory itself.

CreateExternalUser(string)

Creates a well‑known pseudo‑object for the external user with the specified identity name.

public static EntraDirectoryObject CreateExternalUser(string identityName)

Parameters

identityName string

The identity name of the external user.

Returns

EntraDirectoryObject

A CENTREL.XIA.Configuration.Types.EntraDirectoryObject that represents a well‑known pseudo‑object for the external user with the specified identity name.

CreateMicrosoft365()

Creates the Microsoft 365 well‑known pseudo‑object.

public static EntraDirectoryObject CreateMicrosoft365()

Returns

EntraDirectoryObject

A CENTREL.XIA.Configuration.Types.EntraDirectoryObject that represents the Microsoft 365 well‑known pseudo‑object.

CreateMicrosoftAdminPortals()

Creates the Microsoft Admin Portals well‑known pseudo‑object.

public static EntraDirectoryObject CreateMicrosoftAdminPortals()

Returns

EntraDirectoryObject

A CENTREL.XIA.Configuration.Types.EntraDirectoryObject that represents the Microsoft Admin Portals well‑known pseudo‑object.

CreateOrphaned(Guid)

Creates a directory object to represent an orphaned deleted object.

public static EntraDirectoryObject CreateOrphaned(Guid identifier)

Parameters

identifier Guid

The identifier of the orphaned object.

Returns

EntraDirectoryObject

A CENTREL.XIA.Configuration.Types.EntraDirectoryObject that represents an orphaned deleted object.

ToDisplayString()

Returns the display name and type of the directory object.

public string ToDisplayString()

Returns

string

The display name and type of the directory object.

ToString()

Returns the display name of the directory object.

public override string ToString()

Returns

string

The display name of the directory object.