TestimoX

API Reference

Class

DcItem

Namespace ADPlayground.DomainControllers.FleetPostureService
Assembly ADPlayground
Implements
IEquatable<DcItem>
Modifiers sealed

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 requiredposition: 0
Computer object DN.
Host System.String requiredposition: 1
DNS host name.
Disabled System.Boolean requiredposition: 2
True when the computer account is disabled.
ManagedBy System.String requiredposition: 3
ManagedBy DN when set.
OwnerType System.String requiredposition: 4
Administrative or NonAdministrative owner.
PasswordNotRequired System.Boolean requiredposition: 5
True when PASSWD_NOTREQD is set on the DC computer object.
PasswordNeverExpires System.Boolean requiredposition: 6
True when DONT_EXPIRE_PASSWORD is set on the DC computer object.
LastLogon System.Nullable{System.DateTime} requiredposition: 7
LastLogonTimestamp (UTC) if set.
PasswordLastSet System.Nullable{System.DateTime} requiredposition: 8
pwdLastSet (UTC) if set.
LastLogonDays System.Nullable{System.Int32} requiredposition: 9
Derived days since last logon.
PasswordLastChangedDays System.Nullable{System.Int32} requiredposition: 10
Derived days since password change.

Methods

public DcItem <Clone>$() #
Returns: DcItem
public 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: Void

Parameters

DistinguishedName String requiredposition: 0
Host String requiredposition: 1
Disabled Boolean requiredposition: 2
ManagedBy String requiredposition: 3
OwnerType String requiredposition: 4
PasswordNotRequired Boolean requiredposition: 5
PasswordNeverExpires Boolean requiredposition: 6
LastLogon Nullable<DateTime> requiredposition: 7
PasswordLastSet Nullable<DateTime> requiredposition: 8
LastLogonDays Nullable<Int32> requiredposition: 9
PasswordLastChangedDays Nullable<Int32> requiredposition: 10
public virtual Boolean Equals(DcItem other) #
Returns: Boolean

Parameters

obj Object requiredposition: 0
public override Int32 GetHashCode() #
Returns: Int32
public override String ToString() #
Returns: String

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.