Class EntraRoleReference
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents an Entra directory role reference.
public class EntraRoleReference : GlobalSerializableBase, IComparable<EntraRoleReference>
- Inheritance
-
EntraRoleReference
- Implements
Constructors
EntraRoleReference()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.EntraRoleReference class.
public EntraRoleReference()
Properties
DisplayName
Gets or sets the display name of the referenced role.
public string DisplayName { get; set; }
Property Value
RoleDefinitionIdentifier
Gets or sets the role definition identifier of the referenced role.
public Guid RoleDefinitionIdentifier { get; set; }
Property Value
RoleType
Gets or sets the role type.
public EntraRoleReferenceType RoleType { get; set; }
Property Value
RoleTypeString
Gets the role type as a human readable string.
public string RoleTypeString { get; set; }
Property Value
Methods
CompareTo(EntraRoleReference)
Compares two CENTREL.XIA.Configuration.Types.EntraRoleReference objects to allow sorting alphabetically by role display name.
public int CompareTo(EntraRoleReference other)
Parameters
otherEntraRoleReferenceThe CENTREL.XIA.Configuration.Types.EntraRoleReference to compare to.
Returns
- int
The sort order of the two CENTREL.XIA.Configuration.Types.EntraRoleReference objects.
ToString()
Returns the display name of the referenced role.
public override string ToString()
Returns
- string
The display name of the referenced role.