API Reference
Class
RecentItem
A single row describing a privileged account with recent logon activity.
Inheritance
- Object
- RecentItem
Constructors
public RecentItem(String SamAccountName, String DistinguishedName, String OrganizationalUnit, Int32 LastLogonDays, Boolean Enabled, Boolean ProtectedUsersMember) #A single row describing a privileged account with recent logon activity.
Parameters
- SamAccountName System.String
- User sAMAccountName.
- DistinguishedName System.String
- User distinguished name (DN).
- OrganizationalUnit System.String
- Parent OU/container of the account.
- LastLogonDays System.Int32
- Days since last logon (0 means today; -1 unknown).
- Enabled System.Boolean
- True when the account is enabled.
- ProtectedUsersMember System.Boolean
- True when the account is a member of Protected Users.
Methods
public RecentItem <Clone>$() #Returns:
RecentItempublic Void Deconstruct(out String SamAccountName, out String DistinguishedName, out String OrganizationalUnit, out Int32 LastLogonDays, out Boolean Enabled, out Boolean ProtectedUsersMember) #Returns:
VoidParameters
- SamAccountName String
- DistinguishedName String
- OrganizationalUnit String
- LastLogonDays Int32
- Enabled Boolean
- ProtectedUsersMember Boolean
public override Int32 GetHashCode() #Returns:
Int32public override String ToString() #Returns:
StringInherited Methods
Properties
public String SamAccountName { get; set; } #User sAMAccountName.
public String DistinguishedName { get; set; } #User distinguished name (DN).
public String OrganizationalUnit { get; set; } #Parent OU/container of the account.
public Int32 LastLogonDays { get; set; } #Days since last logon (0 means today; -1 unknown).
public Boolean Enabled { get; set; } #True when the account is enabled.
public Boolean ProtectedUsersMember { get; set; } #True when the account is a member of Protected Users.