TestimoX

API Reference

Class

PasswordAgeBuckets

Namespace ADPlayground.Helpers
Assembly ADPlayground
Modifiers static

Helpers for bucketing password ages from pwdLastSet (FileTime) values.

Inheritance

  • Object
  • PasswordAgeBuckets

Methods

public static Void Add(Nullable<Int64> pwdLastSetFileTime, DateTime nowUtc, IReadOnlyList<Int32> edgesDays, IDictionary<String, Int64> counts) #
Returns: Void

Adds a single pwdLastSet FileTime value to the bucket counts.

Parameters

pwdLastSetFileTime System.Nullable{System.Int64} requiredposition: 0
nowUtc System.DateTime requiredposition: 1
edgesDays System.Collections.Generic.IReadOnlyList{System.Int32} requiredposition: 2
counts System.Collections.Generic.IDictionary{System.String,System.Int64} requiredposition: 3
public static Dictionary<String, Int64> InitCounts(IEnumerable<Int32> edgesDays) #
Returns: Dictionary<String, Int64>

Initializes the bucket map using the stable bucket labels expected by tool/report consumers.

Parameters

edgesDays System.Collections.Generic.IEnumerable{System.Int32} requiredposition: 0