Class WindowsLocalGroup
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents a Windows local group.
public class WindowsLocalGroup : GlobalSerializableClassicBase, IComparable<WindowsLocalGroup>
- Inheritance
-
WindowsLocalGroup
- Implements
Constructors
WindowsLocalGroup()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.WindowsLocalGroup class.
public WindowsLocalGroup()
Properties
Description
Gets or sets the description of the group.
public string Description { get; set; }
Property Value
Members
Gets or sets the account names of the members of the local group.
public SerializableStringCollection Members { get; set; }
Property Value
- SerializableStringCollection
Name
Gets or sets the name of the group - for example "Administrators".
public string Name { get; set; }
Property Value
Sid
Gets or sets the security identifier of this group in SDDL format - for example "S-1-5-32-544".
public string Sid { get; set; }
Property Value
Methods
CompareTo(WindowsLocalGroup)
Compares two local groups to allow sorting alphabetically by name.
public int CompareTo(WindowsLocalGroup other)
Parameters
other
WindowsLocalGroupThe CENTREL.XIA.Configuration.Types.WindowsLocalGroup to compare to.
Returns
- int
The sort order of the two CENTREL.XIA.Configuration.Types.WindowsLocalGroup objects.
ToString()
Returns the name of the group or "{Unknown}" if the group is unknown.
public override string ToString()
Returns
- string
The name of the group.