TestimoX

API Reference

Class

AdminAccountHelper

Namespace ADPlayground
Assembly ADPlayground
Modifiers static

Helper methods for evaluating admin account activity.

Inheritance

  • Object
  • AdminAccountHelper

Methods

public static IEnumerable<AdminAccountInfo> FilterStaleAccounts(IEnumerable<AdminAccountInfo> accounts, Int32 maxInactiveDays) #
Returns: IEnumerable<AdminAccountInfo>

Filters the provided accounts to only those that have not logged in within the specified number of days.

Parameters

accounts System.Collections.Generic.IEnumerable{ADPlayground.AdminAccountInfo} requiredposition: 0
Accounts to evaluate.
maxInactiveDays System.Int32 requiredposition: 1
Number of days after which an account is considered stale.

Returns

List of stale admin accounts.

public static Void GenerateAlerts(IEnumerable<AdminAccountInfo> accounts, Int32 maxInactiveDays) #
Returns: Void

Generates warning messages using LoggingMessages for accounts returned by Int32).

Parameters

accounts System.Collections.Generic.IEnumerable{ADPlayground.AdminAccountInfo} requiredposition: 0
Accounts to evaluate.
maxInactiveDays System.Int32 requiredposition: 1
Number of days after which an account is considered stale.