Table of Contents

Class EntraUser

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

Represents an Entra directory user.

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

Constructors

EntraUser()

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

public EntraUser()

Properties

AssignedLicenses

Gets or sets the licenses assigned to the user.

public EntraAssignedLicenses AssignedLicenses { get; set; }

Property Value

EntraAssignedLicenses

DisplayName

Gets or sets the display name of the user.

public string DisplayName { get; set; }

Property Value

string

Enabled

Gets or sets whether the user is enabled.

public BooleanOption Enabled { get; set; }

Property Value

BooleanOption

Identifier

Gets or sets the unique identifier of the user in GUID format.

public Guid Identifier { get; set; }

Property Value

Guid

OnPremisesSettings

Gets or sets the on-premises sync settings. This only applies when the user is synced from Active Directory.

public EntraUserOnPremisesSettings OnPremisesSettings { get; set; }

Property Value

EntraUserOnPremisesSettings

SecurityIdentifier

Gets or sets the security identifier of the user.

public string SecurityIdentifier { get; set; }

Property Value

string

SyncedFromActiveDirectory

Gets or sets whether the user was synced from an on-premises Active Directory.

public BooleanOption SyncedFromActiveDirectory { get; set; }

Property Value

BooleanOption

UserPrincipalName

Gets or sets the user principal name of the user.

public string UserPrincipalName { get; set; }

Property Value

string

UserType

Gets or sets the user type.

public EntraUserType UserType { get; set; }

Property Value

EntraUserType

Methods

CompareTo(EntraUser)

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

public int CompareTo(EntraUser other)

Parameters

other EntraUser

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

Returns

int

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

ShouldSerializeOnPremisesSettings()

Determines whether the OnPremisesSettings property should be serialized.

public bool ShouldSerializeOnPremisesSettings()

Returns

bool

A System.Boolean value that indicates whether the OnPremisesSettings property should be serialized.

ToString()

Returns the display name of the user.

public override string ToString()

Returns

string

The display name of the user.