TestimoX

API Reference

Interface

IUsersSnapshotProvider

Namespace ADPlayground
Assembly ADPlayground
Modifiers abstract

Optional provider that can supply user datasets from a local snapshot instead of querying LDAP. Implementations should return false when the request cannot be satisfied (e.g., missing fields).

Methods

public abstract Boolean TryGetUsers(UserQueryOptions options, CancellationToken cancellationToken, out IReadOnlyList<UserRecord> users) #
Returns: Boolean

Attempts to satisfy the given request from a local snapshot.

Parameters

options ADPlayground.UserQueryOptions requiredposition: 0
Query options (domains, property set, filters).
cancellationToken System.Threading.CancellationToken requiredposition: 1
Cancellation token.
users System.Collections.Generic.IReadOnlyList{ADPlayground.UserRecord}@ requiredposition: 2
Resulting users when available.

Returns

True when served from snapshot; false to fall back to LDAP.