API Reference
Class
AdminProtectedAccount
Represents a privileged account and its AdminSDHolder protection state.
Inheritance
- Object
- AdminProtectedAccount
Constructors
public AdminProtectedAccount() #Inherited Methods
Properties
public String DomainName { get; set; } #DNS domain name.
public String SamAccountName { get; set; } #Account sAMAccountName.
public String DisplayName { get; set; } #Optional display name.
public Boolean Enabled { get; set; } #True when the account is enabled.
public Boolean IsAdmin { get; set; } #True when the account is a member of privileged groups.
public Boolean IsProtectedUsersMember { get; set; } #True when the account belongs to the Protected Users group.
public Int32 LastLogonDays { get; set; } #Days since last logon (or -1 when unknown).
public Int32 PasswordAgeDays { get; set; } #Days since password was last set (or -1 when unknown).
public String DisplayLabel { get; } #A friendly label combining DisplayName and SamAccountName, falling back to SamAccountName when the display name is not set.