API Reference
Class
PasswordAgeBuckets
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:
VoidAdds a single pwdLastSet FileTime value to the bucket counts.
Parameters
- pwdLastSetFileTime System.Nullable{System.Int64}
- nowUtc System.DateTime
- edgesDays System.Collections.Generic.IReadOnlyList{System.Int32}
- counts System.Collections.Generic.IDictionary{System.String,System.Int64}
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}