TestimoX

API Reference

Class

KrbtgtPasswordAgeChecker

Namespace ADPlayground.Kerberos
Assembly ADPlayground
Modifiers static

Provides helpers for determining the age of the krbtgt password.

Inheritance

  • Object
  • KrbtgtPasswordAgeChecker

Methods

GetPasswordAge 2 overloads
public static IEnumerable<KrbtgtPasswordAgeInfo> GetPasswordAge(Int32 thresholdDays = 180) #
Returns: IEnumerable<KrbtgtPasswordAgeInfo>

Retrieves password age information for all domains in the current forest.

Parameters

thresholdDays System.Int32 = 180 optionalposition: 0
Age threshold in days.

Returns

Collection of password age information.

public static KrbtgtPasswordAgeInfo GetPasswordAge(String domainName, Int32 thresholdDays = 180) #
Returns: KrbtgtPasswordAgeInfo

Retrieves password age information for a specific domain.

Parameters

domainName System.String requiredposition: 0
Domain to query.
thresholdDays System.Int32 = 180 optionalposition: 1
Age threshold in days.

Returns

Information about the password age or null.

public static KrbtgtPasswordAgeInfo GetPasswordAgeForCurrentDomain(Int32 thresholdDays = 180) #
Returns: KrbtgtPasswordAgeInfo

Retrieves password age information for the current domain.

Parameters

thresholdDays System.Int32 = 180 optionalposition: 0
Age threshold in days.

Returns

Information about the password age or null.