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
Description
Gets or sets the description of the role.
public string Description { get; set; }
Property Value
DisplayName
Gets or sets the display name of the role.
public string DisplayName { get; set; }
Property Value
Identifier
Gets or sets the unique identifier of the role in GUID format.
public Guid Identifier { get; set; }
Property Value
IsEnabled
Gets or sets whether the directory role is enabled.
public BooleanOption IsEnabled { get; set; }
Property Value
RoleType
Gets or sets the role type.
public EntraDirectoryRoleType RoleType { get; set; }
Property Value
RoleTypeString
Gets the role type as a human readable string.
public string RoleTypeString { get; set; }
Property Value
TemplateIdentifier
Gets or sets the unique identifier of the role template.
public Guid TemplateIdentifier { get; set; }
Property Value
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
EntraDirectoryRoleThe 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.