API Reference
Class
GroupReportingScenarioService
Provides typed reporting adapters over group catalog and nesting-summary scenarios.
Inheritance
- Object
- GroupReportingScenarioService
Methods
public static GroupReportingScenarioResult BuildResult(IEnumerable<GroupInfo> groups, IEnumerable<GroupNestingSummary> nestingSummaries = null, GroupRiskThresholds riskThresholds = null, IEnumerable<String> domains = null, DirectoryScenarioOutputProfile profile = Summary) #Returns:
GroupReportingScenarioResultBuilds a reporting result payload from source rows and optional metadata.
Parameters
- groups System.Collections.Generic.IEnumerable{ADPlayground.GroupInfo}
- Source groups.
- nestingSummaries System.Collections.Generic.IEnumerable{ADPlayground.Groups.GroupSummaryService.GroupNestingSummary} = null
- Optional nesting summaries.
- riskThresholds ADPlayground.Groups.GroupRiskThresholds = null
- Optional risk thresholds.
- domains System.Collections.Generic.IEnumerable{System.String} = null
- Optional effective domain list.
- profile ADPlayground.DirectoryScenarioOutputProfile = Summary
- Output profile.
Returns
Typed reporting result.
public static IReadOnlyList<GroupReportingRow> BuildRows(IEnumerable<GroupInfo> groups, IEnumerable<GroupNestingSummary> nestingSummaries = null, GroupRiskThresholds riskThresholds = null) #Returns:
IReadOnlyList<GroupReportingRow>Builds typed reporting rows from group catalog data and optional nesting summaries.
Parameters
- groups System.Collections.Generic.IEnumerable{ADPlayground.GroupInfo}
- Source groups.
- nestingSummaries System.Collections.Generic.IEnumerable{ADPlayground.Groups.GroupSummaryService.GroupNestingSummary} = null
- Optional nesting summaries keyed by distinguished name.
- riskThresholds ADPlayground.Groups.GroupRiskThresholds = null
- Optional risk thresholds.
Returns
Ordered reporting rows.
public static async Task<GroupReportingScenarioResult> QueryAsync(GroupReportingScenarioOptions options, CancellationToken cancellationToken = null) #Returns:
Task<GroupReportingScenarioResult>Executes a full group reporting scenario (catalog + optional nesting summary + risk slicing).
Parameters
- options ADPlayground.Groups.GroupReportingScenarioOptions
- Reporting scenario options.
- cancellationToken System.Threading.CancellationToken = null
- Cancellation token.
Returns
Typed reporting result.