Class WindowsLocalGroupMember
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents a Windows local group member.
public class WindowsLocalGroupMember : GlobalSerializableBase, IComparable<WindowsLocalGroupMember>
- Inheritance
-
WindowsLocalGroupMember
- Implements
Constructors
WindowsLocalGroupMember()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.WindowsLocalGroupMember class.
public WindowsLocalGroupMember()
Properties
AccountName
Gets the full account name of the member.
public string AccountName { get; set; }
Property Value
DomainName
Gets or sets the domain name of the member.
public string DomainName { get; set; }
Property Value
MemberType
Gets or sets the member type.
public WindowsLocalGroupMemberType MemberType { get; set; }
Property Value
MemberTypeString
Gets the member type as a human readable string.
public string MemberTypeString { get; set; }
Property Value
Name
Gets or sets the name of the member - for example "Administrator".
public string Name { get; set; }
Property Value
Sid
Gets or sets the security identifier of this member in SDDL format - for example "S-1-5-32-544".
public string Sid { get; set; }
Property Value
Methods
CompareTo(WindowsLocalGroupMember)
Compares two local group members to allow sorting alphabetically by account name.
public int CompareTo(WindowsLocalGroupMember other)
Parameters
otherWindowsLocalGroupMemberThe CENTREL.XIA.Configuration.Types.WindowsLocalGroupMember to compare to.
Returns
- int
The sort order of the two CENTREL.XIA.Configuration.Types.WindowsLocalGroupMember objects.
ToString()
Returns the name of the member.
public override string ToString()
Returns
- string
The name of the member.