Class EntraDirectoryRoleAssignment
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents an Entra directory role assignment.
public class EntraDirectoryRoleAssignment : GlobalSerializableClassicBase, IComparable<EntraDirectoryRoleAssignment>
- Inheritance
-
EntraDirectoryRoleAssignment
- Implements
Constructors
EntraDirectoryRoleAssignment()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.EntraDirectoryRoleAssignment class.
public EntraDirectoryRoleAssignment()
Properties
DisplayName
Gets or sets the display name of the principal.
public string DisplayName { get; set; }
Property Value
Identifier
Gets or sets the unique identifier of the principal.
public Guid Identifier { get; set; }
Property Value
PrincipalType
Gets or sets the type of principal.
public EntraDirectoryObjectType PrincipalType { get; set; }
Property Value
PrincipalTypeString
Gets the type of principal as a human readable string.
public string PrincipalTypeString { get; set; }
Property Value
Scope
Gets or sets the scope of the role assignment.
public string Scope { get; set; }
Property Value
Methods
CompareTo(EntraDirectoryRoleAssignment)
Compares two CENTREL.XIA.Configuration.Types.EntraDirectoryRoleAssignment objects to allow sorting alphabetically by principal display name.
public int CompareTo(EntraDirectoryRoleAssignment other)
Parameters
other
EntraDirectoryRoleAssignmentThe CENTREL.XIA.Configuration.Types.EntraDirectoryRoleAssignment to compare to.
Returns
- int
The sort order of the two CENTREL.XIA.Configuration.Types.EntraDirectoryRoleAssignment objects.
ToString()
Returns the display name of the principal.
public override string ToString()
Returns
- string
The display name of the principal.