Table of Contents

Class EntraRole

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

Represents an Entra directory role.

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

Constructors

EntraRole()

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

public EntraRole()

Properties

AllowedPermissions

Gets or sets the allowed permissions.

public SerializableStringCollection AllowedPermissions { get; set; }

Property Value

SerializableStringCollection

Assignments

Gets or sets the role assignments.

public EntraRoleAssignments Assignments { get; set; }

Property Value

EntraRoleAssignments

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

EligibleAssignments

Gets or sets the role eligible assignments. This is only available when the directory is licensed for PIM.

public EntraRoleEligibleAssignments EligibleAssignments { get; set; }

Property Value

EntraRoleEligibleAssignments

ExcludedPermissions

Gets or sets the excluded permissions.

public SerializableStringCollection ExcludedPermissions { get; set; }

Property Value

SerializableStringCollection

Identifier

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

public Guid Identifier { get; set; }

Property Value

Guid

InheritedRoleIdentifiers

Gets or sets the identifiers of the roles from which this role inherits.

public SerializableGuidCollection InheritedRoleIdentifiers { get; set; }

Property Value

SerializableGuidCollection

IsEnabled

Gets or sets whether the directory role is enabled.

public BooleanOption IsEnabled { get; set; }

Property Value

BooleanOption

IsPrivileged

Gets or sets whether the role is privileged.

public BooleanOption IsPrivileged { get; set; }

Property Value

BooleanOption

Pim

Gets or sets the Entra role PIM settings.

public EntraRolePimSettings Pim { get; set; }

Property Value

EntraRolePimSettings

RoleType

Gets or sets the role type.

public EntraRoleType RoleType { get; set; }

Property Value

EntraRoleType

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

Version

Gets or sets the version of the role.

public string Version { get; set; }

Property Value

string

Methods

CompareTo(EntraRole)

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

public int CompareTo(EntraRole other)

Parameters

other EntraRole

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

Returns

int

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

ToString()

Returns the display name of the role.

public override string ToString()

Returns

string

The display name of the role.