Table of Contents

Class EntraDirectoryRole

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

Represents an Entra directory role.

public class EntraDirectoryRole : GlobalSerializableClassicBase, IComparable<EntraDirectoryRole>
Inheritance
EntraDirectoryRole
Implements

Constructors

EntraDirectoryRole()

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

public EntraDirectoryRole()

Properties

Assignments

Gets or sets the role assignments.

public EntraDirectoryRoleAssignments Assignments { get; set; }

Property Value

EntraDirectoryRoleAssignments

Description

Gets or sets the description of the role.

public string Description { get; set; }

Property Value

string

DisplayName

Gets or sets the display name of the role.

public string DisplayName { get; set; }

Property Value

string

Identifier

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

public Guid Identifier { get; set; }

Property Value

Guid

IsEnabled

Gets or sets whether the directory role is enabled.

public BooleanOption IsEnabled { get; set; }

Property Value

BooleanOption

RoleType

Gets or sets the role type.

public EntraDirectoryRoleType RoleType { get; set; }

Property Value

EntraDirectoryRoleType

RoleTypeString

Gets the role type as a human readable string.

public string RoleTypeString { get; set; }

Property Value

string

TemplateIdentifier

Gets or sets the unique identifier of the role template.

public Guid TemplateIdentifier { get; set; }

Property Value

Guid

Methods

CompareTo(EntraDirectoryRole)

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

public int CompareTo(EntraDirectoryRole other)

Parameters

other EntraDirectoryRole

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

Returns

int

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

ToString()

Returns the display name of the role.

public override string ToString()

Returns

string

The display name of the role.