Class EntraRoleCollection
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents a collection of Entra directory roles.
public class EntraRoleCollection : Collection<EntraRole>, IList<EntraRole>, ICollection<EntraRole>, IList, ICollection, IReadOnlyList<EntraRole>, IReadOnlyCollection<EntraRole>, IEnumerable<EntraRole>, IEnumerable
- Inheritance
-
EntraRoleCollection
- Implements
- Inherited Members
Constructors
EntraRoleCollection()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.EntraRoleCollection class.
public EntraRoleCollection()
Methods
FindByIdentifier(Guid)
Returns the CENTREL.XIA.Configuration.Types.EntraRole with the specified identifier, or null if no CENTREL.XIA.Configuration.Types.EntraRole with that identifier is found.
public EntraRole FindByIdentifier(Guid identifier)
Parameters
identifierGuidThe identifier of the CENTREL.XIA.Configuration.Types.EntraRole to locate in GUID format.
Returns
- EntraRole
The CENTREL.XIA.Configuration.Types.EntraRole with the specified identifier.
GetInheritedRoleDisplayNames(EntraRole)
Returns a CENTREL.Support.SerializableStringCollection containing the display names of the roles from which the specified role inherits.
public SerializableStringCollection GetInheritedRoleDisplayNames(EntraRole role)
Parameters
roleEntraRoleThe role to evaluate.
Returns
- SerializableStringCollection
A CENTREL.Support.SerializableStringCollection containing the display names of the roles from which the specified role inherits.
Sort()
Sorts the values in the collection.
public void Sort()