Class WindowsLocalUserCollection
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents a collection of Windows local user accounts.
public class WindowsLocalUserCollection : Collection<WindowsLocalUser>, IList<WindowsLocalUser>, ICollection<WindowsLocalUser>, IList, ICollection, IReadOnlyList<WindowsLocalUser>, IReadOnlyCollection<WindowsLocalUser>, IEnumerable<WindowsLocalUser>, IEnumerable
- Inheritance
-
WindowsLocalUserCollection
- Implements
- Inherited Members
Constructors
WindowsLocalUserCollection()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.WindowsLocalUserCollection class.
public WindowsLocalUserCollection()
Methods
FindBySid(string)
Returns the CENTREL.XIA.Configuration.Types.WindowsLocalUser with the specified security identifier, or null if no CENTREL.XIA.Configuration.Types.WindowsLocalUser with that security identifier is found.
public WindowsLocalUser FindBySid(string sid)
Parameters
sid
stringThe security identifier of the CENTREL.XIA.Configuration.Types.WindowsLocalUser to locate in SDDL format.
Returns
- WindowsLocalUser
The CENTREL.XIA.Configuration.Types.WindowsLocalUser with the specified security identifier.
Sort()
Sorts the values in the collection.
public void Sort()