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).
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.