API Reference
Class
AssessmentSummaryBuilder
Helper methods for producing AssessmentSummary from raw record sets.
Inheritance
- Object
- AssessmentSummaryBuilder
Methods
public static AssessmentSummary BuildAssessment(String domain, IEnumerable<UserRecord> users, IEnumerable<ComputerRecord> computers, IEnumerable<GroupInfo> groups, SummaryThresholds thresholds = null, Nullable<Int32> groupsCircular = null) #Returns:
AssessmentSummaryProduces a complete AssessmentSummary from the provided record enumerations.
Parameters
- domain System.String
- DNS domain name to aggregate.
- users System.Collections.Generic.IEnumerable{ADPlayground.UserRecord}
- User records to aggregate.
- computers System.Collections.Generic.IEnumerable{ADPlayground.ComputerRecord}
- Computer records to aggregate.
- groups System.Collections.Generic.IEnumerable{ADPlayground.GroupInfo}
- Group records to aggregate.
- thresholds ADPlayground.Infrastructure.SummaryThresholds = null
- Optional thresholds for inactivity and password age; defaults are used when null.
- groupsCircular System.Nullable{System.Int32} = null
- Optional circular membership count if already computed.
Returns
Aggregated AssessmentSummary.
public static ComputersRollup BuildComputers(String domain, IEnumerable<ComputerRecord> computers, SummaryThresholds t) #Returns:
ComputersRollupBuilds computer counters for the specified domain by filtering the provided records and applying the supplied thresholds for inactivity and password age.
Parameters
- domain System.String
- DNS domain name to include.
- computers System.Collections.Generic.IEnumerable{ADPlayground.ComputerRecord}
- Sequence of computer records across one or more domains.
- t ADPlayground.Infrastructure.SummaryThresholds
- Thresholds controlling inactivity and password age classification.
Returns
Materialized ComputersRollup for the domain.
public static GroupsSummary BuildGroups(String domain, IEnumerable<GroupInfo> groups, Int32 emptyThreshold = 0, Nullable<Int32> circularCount = null) #Returns:
GroupsSummaryBuilds group counters for the specified domain, including empty/security scope and an optional pre-computed circular membership count.
Parameters
- domain System.String
- DNS domain name to include.
- groups System.Collections.Generic.IEnumerable{ADPlayground.GroupInfo}
- Sequence of group records.
- emptyThreshold System.Int32 = 0
- Groups with member count less than or equal to this are considered empty.
- circularCount System.Nullable{System.Int32} = null
- Optional circular membership counter when available.
Returns
Materialized GroupsSummary for the domain.
public static UsersSummary BuildUsers(String domain, IEnumerable<UserRecord> users, SummaryThresholds t) #Returns:
UsersSummaryBuilds user counters for the specified domain by filtering the provided records and applying the supplied thresholds for inactivity and password age.
Parameters
- domain System.String
- DNS domain name to include.
- users System.Collections.Generic.IEnumerable{ADPlayground.UserRecord}
- Sequence of user records across one or more domains.
- t ADPlayground.Infrastructure.SummaryThresholds
- Thresholds controlling inactivity and password age classification.
Returns
Materialized UsersSummary for the domain.