Class WindowsLocalAccounts
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents the configuration of the local accounts on a Windows machine.
public class WindowsLocalAccounts : BypassSection
- Inheritance
-
WindowsLocalAccounts
- Inherited Members
Constructors
WindowsLocalAccounts()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.WindowsLocalAccounts class.
public WindowsLocalAccounts()
Properties
Administrator
Gets the local administrator user using the user's well known SID or null if no user account can be found.
public WindowsLocalUser Administrator { get; set; }
Property Value
Remarks
This is exported to the XML to allow access from the reporting module.
Administrators
Gets the local administrators group using the group's well known SID.
public WindowsLocalGroup Administrators { get; set; }
Property Value
Remarks
This is exported to the XML to allow access from the reporting module.
Guest
Gets the local guest user account using the user's well known SID or null if no user account can be found.
public WindowsLocalUser Guest { get; set; }
Property Value
Remarks
This is exported to the XML to allow access from the reporting module.
LocalGroups
Gets or sets the local group accounts found on this machine.
public WindowsLocalGroups LocalGroups { get; set; }
Property Value
LocalUsers
Gets or sets the local user accounts found on this machine.
public WindowsLocalUsers LocalUsers { get; set; }
Property Value
Methods
FromXml(string)
Returns a CENTREL.XIA.Configuration.Types.WindowsLocalAccounts class from the specified XML.
public static WindowsLocalAccounts FromXml(string xml)
Parameters
xml
stringThe XML representation of the object.
Returns
- WindowsLocalAccounts
A CENTREL.XIA.Configuration.Types.WindowsLocalAccounts class.
ToString()
Returns the local accounts as a human readable string - for example "42 Local Users, 10 Local Groups".
public override string ToString()
Returns
- string
The local accounts as a human readable string.