TestimoX

API Reference

Class

AssessmentSummaryBuilder

Namespace ADPlayground.Domains
Assembly ADPlayground
Modifiers static

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: AssessmentSummary

Produces a complete AssessmentSummary from the provided record enumerations.

Parameters

domain System.String requiredposition: 0
DNS domain name to aggregate.
users System.Collections.Generic.IEnumerable{ADPlayground.UserRecord} requiredposition: 1
User records to aggregate.
computers System.Collections.Generic.IEnumerable{ADPlayground.ComputerRecord} requiredposition: 2
Computer records to aggregate.
groups System.Collections.Generic.IEnumerable{ADPlayground.GroupInfo} requiredposition: 3
Group records to aggregate.
thresholds ADPlayground.Infrastructure.SummaryThresholds = null optionalposition: 4
Optional thresholds for inactivity and password age; defaults are used when null.
groupsCircular System.Nullable{System.Int32} = null optionalposition: 5
Optional circular membership count if already computed.

Returns

Aggregated AssessmentSummary.

public static ComputersRollup BuildComputers(String domain, IEnumerable<ComputerRecord> computers, SummaryThresholds t) #
Returns: ComputersRollup

Builds 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 requiredposition: 0
DNS domain name to include.
computers System.Collections.Generic.IEnumerable{ADPlayground.ComputerRecord} requiredposition: 1
Sequence of computer records across one or more domains.
t ADPlayground.Infrastructure.SummaryThresholds requiredposition: 2
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: GroupsSummary

Builds group counters for the specified domain, including empty/security scope and an optional pre-computed circular membership count.

Parameters

domain System.String requiredposition: 0
DNS domain name to include.
groups System.Collections.Generic.IEnumerable{ADPlayground.GroupInfo} requiredposition: 1
Sequence of group records.
emptyThreshold System.Int32 = 0 optionalposition: 2
Groups with member count less than or equal to this are considered empty.
circularCount System.Nullable{System.Int32} = null optionalposition: 3
Optional circular membership counter when available.

Returns

Materialized GroupsSummary for the domain.

public static UsersSummary BuildUsers(String domain, IEnumerable<UserRecord> users, SummaryThresholds t) #
Returns: UsersSummary

Builds 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 requiredposition: 0
DNS domain name to include.
users System.Collections.Generic.IEnumerable{ADPlayground.UserRecord} requiredposition: 1
Sequence of user records across one or more domains.
t ADPlayground.Infrastructure.SummaryThresholds requiredposition: 2
Thresholds controlling inactivity and password age classification.

Returns

Materialized UsersSummary for the domain.