TestimoX

API Reference

Class

PrivUser

Namespace ADPlayground.Security.SmartCardPostureService
Assembly ADPlayground
Implements
IEquatable<PrivUser>
Modifiers sealed

Describes a privileged user with smart-card posture metadata.

Inheritance

  • Object
  • PrivUser

Constructors

public PrivUser(String distinguishedName, String samAccountName, Boolean smartCardRequired, Nullable<Int32> passwordLastChangedDays) #

Creates a new privileged user descriptor.

Parameters

distinguishedName System.String requiredposition: 0
Distinguished name of the user object.
samAccountName System.String requiredposition: 1
sAMAccountName of the user.
smartCardRequired System.Boolean requiredposition: 2
True when userAccountControl requires smart card.
passwordLastChangedDays System.Nullable{System.Int32} requiredposition: 3
Days since password last set; null when unknown.

Methods

public PrivUser <Clone>$() #
Returns: PrivUser
public virtual Boolean Equals(PrivUser 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; } #

Distinguished name of the user object.

public String SamAccountName { get; set; } #

sAMAccountName of the user.

public Boolean SmartCardRequired { get; set; } #

True when userAccountControl requires smart card.

public Nullable<Int32> PasswordLastChangedDays { get; set; } #

Days since password last set; null when unknown.