API Reference
Class
UserGatherer
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
- cancellationToken System.Threading.CancellationToken = null
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}
- propertySet ADPlayground.Helpers.UserProperties = Basic
- filter ADPlayground.UserFilter = None
- cancellationToken System.Threading.CancellationToken = null
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
- cancellationToken System.Threading.CancellationToken = null
Inherited Methods
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.