API Reference
Class
DcItem
A single domain controller with hygiene indicators (activity, password age, ownership).
Inheritance
- Object
- DcItem
Constructors
public DcItem(String DistinguishedName, String Host, Boolean Disabled, String ManagedBy, String OwnerType, Boolean PasswordNotRequired, Boolean PasswordNeverExpires, Nullable<DateTime> LastLogon, Nullable<DateTime> PasswordLastSet, Nullable<Int32> LastLogonDays, Nullable<Int32> PasswordLastChangedDays) #A single domain controller with hygiene indicators (activity, password age, ownership).
Parameters
- DistinguishedName System.String
- Computer object DN.
- Host System.String
- DNS host name.
- Disabled System.Boolean
- True when the computer account is disabled.
- ManagedBy System.String
- ManagedBy DN when set.
- OwnerType System.String
- Administrative or NonAdministrative owner.
- PasswordNotRequired System.Boolean
- True when PASSWD_NOTREQD is set on the DC computer object.
- PasswordNeverExpires System.Boolean
- True when DONT_EXPIRE_PASSWORD is set on the DC computer object.
- LastLogon System.Nullable{System.DateTime}
- LastLogonTimestamp (UTC) if set.
- PasswordLastSet System.Nullable{System.DateTime}
- pwdLastSet (UTC) if set.
- LastLogonDays System.Nullable{System.Int32}
- Derived days since last logon.
- PasswordLastChangedDays System.Nullable{System.Int32}
- Derived days since password change.
Methods
public DcItem <Clone>$() #Returns:
DcItempublic Void Deconstruct(out String DistinguishedName, out String Host, out Boolean Disabled, out String ManagedBy, out String OwnerType, out Boolean PasswordNotRequired, out Boolean PasswordNeverExpires, out Nullable<DateTime> LastLogon, out Nullable<DateTime> PasswordLastSet, out Nullable<Int32> LastLogonDays, out Nullable<Int32> PasswordLastChangedDays) #Returns:
VoidParameters
- DistinguishedName String
- Host String
- Disabled Boolean
- ManagedBy String
- OwnerType String
- PasswordNotRequired Boolean
- PasswordNeverExpires Boolean
- LastLogon Nullable<DateTime>
- PasswordLastSet Nullable<DateTime>
- LastLogonDays Nullable<Int32>
- PasswordLastChangedDays Nullable<Int32>
public override Int32 GetHashCode() #Returns:
Int32public override String ToString() #Returns:
StringInherited Methods
Properties
public String DistinguishedName { get; set; } #Computer object DN.
public String Host { get; set; } #DNS host name.
public Boolean Disabled { get; set; } #True when the computer account is disabled.
public String ManagedBy { get; set; } #ManagedBy DN when set.
public String OwnerType { get; set; } #Administrative or NonAdministrative owner.
public Boolean PasswordNotRequired { get; set; } #True when PASSWD_NOTREQD is set on the DC computer object.
public Boolean PasswordNeverExpires { get; set; } #True when DONT_EXPIRE_PASSWORD is set on the DC computer object.
public Nullable<DateTime> LastLogon { get; set; } #LastLogonTimestamp (UTC) if set.
public Nullable<DateTime> PasswordLastSet { get; set; } #pwdLastSet (UTC) if set.
public Nullable<Int32> LastLogonDays { get; set; } #Derived days since last logon.
public Nullable<Int32> PasswordLastChangedDays { get; set; } #Derived days since password change.