Class WindowsLocalGroups
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents the local group account configuration on a Windows machine.
public class WindowsLocalGroups : GlobalSerializableClassicBase
- Inheritance
-
WindowsLocalGroups
Constructors
WindowsLocalGroups()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.WindowsLocalGroups class.
public WindowsLocalGroups()
Properties
Items
Gets or sets the items in the collection.
public WindowsLocalGroupCollection Items { get; set; }
Property Value
Methods
FindBySid(string)
Returns the group with the specified SID, or null if no group with that SID is found.
public WindowsLocalGroup FindBySid(string sid)
Parameters
sid
stringThe SID of the group to find in SDDL format - for example "S-1-5-32-544".
Returns
- WindowsLocalGroup
The local group with the specified SID, or null if no group with that SID is found
ToString()
Returns the local groups as a human readable string - for example "12 Local Groups".
public override string ToString()
Returns
- string
The local groups as a human readable string.