API Reference
Interface
IUsersSnapshotProvider
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).
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property UserGatherer.SnapshotProvider
Methods
public abstract Boolean TryGetUsers(UserQueryOptions options, CancellationToken cancellationToken, out IReadOnlyList<UserRecord> users) #Returns:
BooleanAttempts to satisfy the given request from a local snapshot.
Parameters
- options ADPlayground.UserQueryOptions
- Query options (domains, property set, filters).
- cancellationToken System.Threading.CancellationToken
- Cancellation token.
- users System.Collections.Generic.IReadOnlyList{ADPlayground.UserRecord}@
- Resulting users when available.
Returns
True when served from snapshot; false to fall back to LDAP.