TestimoX

API Reference

Class

GroupMembershipProjector

Namespace ADPlayground.Groups
Assembly ADPlayground
Modifiers static

Transforms raw membership entries into typed or summarized views for reporting.

Inheritance

  • Object
  • GroupMembershipProjector

Methods

public static IEnumerable<Object> FormatFlat(IEnumerable<GroupMembershipEntry> entries, String view, String[] includeType, String[] excludeType, Boolean groupsOnly, Boolean rootOnly) #
Returns: IEnumerable<Object>

Projects entries into various shapes (Default, Ade, Compact, Summary) with optional filters.

Parameters

entries System.Collections.Generic.IEnumerable{ADPlayground.GroupMembershipEntry} requiredposition: 0
Input membership entries.
view System.String requiredposition: 1
Projection name: Default, Ade, Compact, Summary.
includeType System.String[] requiredposition: 2
Optional include filters (Groups, Users, Computers, Contacts, ForeignSecurityPrincipals, All).
excludeType System.String[] requiredposition: 3
Optional exclude filters with the same tokens as includeType.
groupsOnly System.Boolean requiredposition: 4
When true, only group objects are returned.
rootOnly System.Boolean requiredposition: 5
When true or when view=Summary, only root-level entries are returned.

Returns

Projected sequence of anonymous/typed rows.