Table of Contents

Class EntraRoleAssignment

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

Represents an Entra directory role assignment.

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

Constructors

EntraRoleAssignment()

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

public EntraRoleAssignment()

Properties

AssignmentType

Gets or sets the role assignment type.

public EntraRoleAssignmentType AssignmentType { get; set; }

Property Value

EntraRoleAssignmentType

AssignmentTypeString

Gets the role assignment type as a human readable string.

public string AssignmentTypeString { get; set; }

Property Value

string

CollectionDisplayField

Gets the collection display field used by the data comparer.

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

Property Value

string

CollectionIndex

Gets the collection index used by the data comparer.

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

Property Value

string

EndDateTime

Gets or sets the end date and time for the assignment.

public DateTime EndDateTime { get; set; }

Property Value

DateTime

EndDateTimeString

Gets the end time as a human readable string.

public string EndDateTimeString { get; set; }

Property Value

string

IsPimManaged

Gets or sets whether the role assignment is PIM managed.

public BooleanOption IsPimManaged { get; set; }

Property Value

BooleanOption

MemberType

Gets or sets the member type.

public EntraRoleAssignmentMemberType MemberType { get; set; }

Property Value

EntraRoleAssignmentMemberType

MemberTypeString

Gets the member type as a human readable string.

public string MemberTypeString { get; set; }

Property Value

string

Principal

Gets or sets the principal to which the role is assigned.

public EntraDirectoryObject Principal { get; set; }

Property Value

EntraDirectoryObject

Scope

Gets or sets the scope of the role assignment.

public EntraDirectoryObject Scope { get; set; }

Property Value

EntraDirectoryObject

StartDateTime

Gets or sets the start date and time for the assignment.

public DateTime StartDateTime { get; set; }

Property Value

DateTime

StartDateTimeString

Gets the start time as a human readable string.

public string StartDateTimeString { get; set; }

Property Value

string

Methods

CompareTo(EntraRoleAssignment)

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

public int CompareTo(EntraRoleAssignment other)

Parameters

other EntraRoleAssignment

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

Returns

int

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

ToString()

Returns the display name of the principal.

public override string ToString()

Returns

string

The display name of the principal.