Class ActiveDirectoryUserCollection
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents a collection of Active Directory users.
public class ActiveDirectoryUserCollection : Collection<ActiveDirectoryUser>, IList<ActiveDirectoryUser>, ICollection<ActiveDirectoryUser>, IList, ICollection, IReadOnlyList<ActiveDirectoryUser>, IReadOnlyCollection<ActiveDirectoryUser>, IEnumerable<ActiveDirectoryUser>, IEnumerable
- Inheritance
-
ActiveDirectoryUserCollection
- Implements
- Inherited Members
Constructors
ActiveDirectoryUserCollection()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.ActiveDirectoryUserCollection class.
public ActiveDirectoryUserCollection()
Methods
ExistsByIdentifier(Guid)
Determines whether a CENTREL.XIA.Configuration.Types.ActiveDirectoryUser with the specified unique identifier exists within the collection.
public bool ExistsByIdentifier(Guid identifier)
Parameters
identifier
GuidThe unique identifier of the CENTREL.XIA.Configuration.Types.ActiveDirectoryUser to locate.
Returns
- bool
A System.Boolean value that indicates whether a CENTREL.XIA.Configuration.Types.ActiveDirectoryUser with the specified unique identifier exists within the collection.
ExistsBySamAccountName(string)
Determines whether a CENTREL.XIA.Configuration.Types.ActiveDirectoryUser with the specified SAM account name exists within the collection.
public bool ExistsBySamAccountName(string samAccountName)
Parameters
samAccountName
stringThe SAM account name of the CENTREL.XIA.Configuration.Types.ActiveDirectoryUser to locate.
Returns
- bool
A System.Boolean value that indicates whether a CENTREL.XIA.Configuration.Types.ActiveDirectoryUser with the specified SAM account name exists within the collection.
FindByIdentifier(Guid)
Returns the CENTREL.XIA.Configuration.Types.ActiveDirectoryUser with the specified unique identifier, or null if no CENTREL.XIA.Configuration.Types.ActiveDirectoryUser with that unique identifier is found.
public ActiveDirectoryUser FindByIdentifier(Guid identifier)
Parameters
identifier
GuidThe unique identifier of the CENTREL.XIA.Configuration.Types.ActiveDirectoryUser to locate.
Returns
- ActiveDirectoryUser
The CENTREL.XIA.Configuration.Types.ActiveDirectoryUser with the specified unique identifier.
FindBySamAccountName(string)
Returns the CENTREL.XIA.Configuration.Types.ActiveDirectoryUser with the specified SAM account name, or null if no CENTREL.XIA.Configuration.Types.ActiveDirectoryUser with that SAM account name is found.
public ActiveDirectoryUser FindBySamAccountName(string samAccountName)
Parameters
samAccountName
stringThe SAM account name of the CENTREL.XIA.Configuration.Types.ActiveDirectoryUser to locate.
Returns
- ActiveDirectoryUser
The CENTREL.XIA.Configuration.Types.ActiveDirectoryUser with the specified SAM account name.
Sort()
Sorts the values in the collection.
public void Sort()