API Reference
ComputerAccountInfo
Represents information about a computer account for orphaned computer detection.
Inheritance
- Object
- ComputerAccountInfo
Remarks
See usage examples in the unit tests for typical scenarios.
Constructors
public ComputerAccountInfo() #Inherited Methods
Properties
public String ComputerName { get; set; } #Gets or sets the computer name.
public String DistinguishedName { get; set; } #Gets or sets the distinguished name.
public Boolean Enabled { get; set; } #Gets or sets whether the computer account is enabled.
public String OperatingSystem { get; set; } #Gets or sets the operating system.
public String OperatingSystemVersion { get; set; } #Gets or sets the operating system version.
public Nullable<DateTime> LastLogon { get; set; } #Gets or sets the lastLogon attribute value.
public Nullable<DateTime> LastLogonTimestamp { get; set; } #Gets or sets the lastLogonTimestamp attribute value.
public Nullable<DateTime> PasswordLastSet { get; set; } #Gets or sets when the password was last set.
public String DomainName { get; set; } #Gets or sets the domain name for the computer account.
public String DnsHostName { get; set; } #Gets or sets the DNS host name of the computer.
public String LastLogonServer { get; set; } #Gets or sets the server where the last logon was recorded.
public Boolean IsDomainController { get; set; } #Gets or sets whether this is a domain controller.
public Nullable<DateTime> MostRecentLogon { get; } #Gets the most recent logon time between LastLogon and LastLogonTimestamp.
public Int32 LastLogonDays { get; } #Gets the number of days since the most recent logon, or -1 if never logged on.
public Int32 PasswordAgeDays { get; } #Gets the number of days since the password was last set, or -1 if unknown.
public Int32 DaysSincePwdSet { get; } #Gets the number of days since the password was last set, or -1 if unknown.
public Boolean IsStale { get; } #Gets a value indicating whether the computer account is stale.