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
AssignmentTypeString
Gets the role assignment type as a human readable string.
public string AssignmentTypeString { get; set; }
Property Value
CollectionDisplayField
Gets the collection display field used by the data comparer.
[Browsable(false)]
public string CollectionDisplayField { get; }
Property Value
CollectionIndex
Gets the collection index used by the data comparer.
[Browsable(false)]
public string CollectionIndex { get; }
Property Value
EndDateTime
Gets or sets the end date and time for the assignment.
public DateTime EndDateTime { get; set; }
Property Value
EndDateTimeString
Gets the end time as a human readable string.
public string EndDateTimeString { get; set; }
Property Value
IsPimManaged
Gets or sets whether the role assignment is PIM managed.
public BooleanOption IsPimManaged { get; set; }
Property Value
MemberType
Gets or sets the member type.
public EntraRoleAssignmentMemberType MemberType { get; set; }
Property Value
MemberTypeString
Gets the member type as a human readable string.
public string MemberTypeString { get; set; }
Property Value
Principal
Gets or sets the principal to which the role is assigned.
public EntraDirectoryObject Principal { get; set; }
Property Value
Scope
Gets or sets the scope of the role assignment.
public EntraDirectoryObject Scope { get; set; }
Property Value
StartDateTime
Gets or sets the start date and time for the assignment.
public DateTime StartDateTime { get; set; }
Property Value
StartDateTimeString
Gets the start time as a human readable string.
public string StartDateTimeString { get; set; }
Property Value
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
otherEntraRoleAssignmentThe 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.