TestimoX

API Reference

Class

UserGatherer

Namespace ADPlayground
Assembly ADPlayground
Modifiers static

High-level user gatherer that queries LDAP once per domain and performs filtering and admin classification in-process.

Inheritance

  • Object
  • UserGatherer

Methods

public static IReadOnlyList<UserRecord> GetUsers(UserQueryOptions options, CancellationToken cancellationToken = null) #
Returns: IReadOnlyList<UserRecord>

Retrieves users using a rich options model (thresholds + flags) with caching.

Parameters

options ADPlayground.UserQueryOptions requiredposition: 0
cancellationToken System.Threading.CancellationToken = null optionalposition: 1
GetUsersAsync 2 overloads
public static Task<IReadOnlyList<UserRecord>> GetUsersAsync(IEnumerable<String> domains, UserProperties propertySet = Basic, UserFilter filter = None, CancellationToken cancellationToken = null) #
Returns: Task<IReadOnlyList<UserRecord>>

Retrieves users according to the requested options and filters, with caching.

Parameters

domains System.Collections.Generic.IEnumerable{System.String} requiredposition: 0
propertySet ADPlayground.Helpers.UserProperties = Basic optionalposition: 1
filter ADPlayground.UserFilter = None optionalposition: 2
cancellationToken System.Threading.CancellationToken = null optionalposition: 3
public static async Task<IReadOnlyList<UserRecord>> GetUsersAsync(UserQueryOptions options, CancellationToken cancellationToken = null) #
Returns: Task<IReadOnlyList<UserRecord>>

Retrieves users using a rich options model (thresholds + flags) with caching.

Parameters

options ADPlayground.UserQueryOptions requiredposition: 0
cancellationToken System.Threading.CancellationToken = null optionalposition: 1

Properties

public static IUsersSnapshotProvider SnapshotProvider { get; set; } #

Optional snapshot provider used to satisfy basic user queries from a local cache (set by hosts like TestimoX). When null or when the request cannot be served from snapshot, LDAP is used.