API Reference
Class
StaleAdminAccountPostureService
Builds a reusable posture view for stale adminCount=1 accounts across a forest or single domain.
Inheritance
- Object
- StaleAdminAccountPostureService
Methods
public static async Task<View> EvaluateAsync(Options options, Func<Options, CancellationToken, Task<IEnumerable<AdminAccountInfo>>> accountFetcher = null, CancellationToken cancellationToken = null) #Returns:
Task<View>Evaluates stale privileged account posture using the supplied options.
Parameters
- options ADPlayground.Forests.StaleAdminAccountPostureService.Options
- Evaluation options.
- accountFetcher System.Func{ADPlayground.Forests.StaleAdminAccountPostureService.Options,System.Threading.CancellationToken,System.Threading.Tasks.Task{System.Collections.Generic.IEnumerable{ADPlayground.AdminAccountInfo}}} = null
- Optional override used by tests and higher-level composition.
- cancellationToken System.Threading.CancellationToken = null
- Cancellation token.
Returns
Typed stale privileged-account posture view.