API Reference
Class
StaleAccountEntry
A single stale account entry returned by StaleAccountsService.
Inheritance
- Object
- StaleAccountEntry
Constructors
public StaleAccountEntry() #Inherited Methods
Properties
public DirectoryAccountKind Kind { get; set; } #Account kind as detected from objectClass.
public String DistinguishedName { get; set; } #Distinguished name.
public String SamAccountName { get; set; } #sAMAccountName (for computers includes trailing '$' when present).
public String UserPrincipalName { get; set; } #Optional userPrincipalName (for user accounts).
public String DnsHostName { get; set; } #Optional dNSHostName (for computer accounts).
public Nullable<DateTime> WhenCreatedUtc { get; set; } #Object creation time (UTC).
public Int32 UserAccountControl { get; set; } #Raw userAccountControl.
public Boolean Enabled { get; set; } #True when the account is enabled (UAC does not include ACCOUNTDISABLE).
public Nullable<DateTime> LastLogonTimestampUtc { get; set; } #lastLogonTimestamp (UTC), if present.
public Nullable<DateTime> PasswordLastSetUtc { get; set; } #pwdLastSet (UTC), if present.
public Boolean StaleByLogon { get; set; } #True when the entry meets the logon staleness criterion.
public Boolean StaleByPasswordSet { get; set; } #True when the entry meets the password-set staleness criterion.
public Nullable<Int32> DaysSinceLastLogon { get; set; } #Derived days since LastLogonTimestampUtc relative to query reference time.
public Nullable<Int32> DaysSincePasswordSet { get; set; } #Derived days since PasswordLastSetUtc relative to query reference time.