TestimoX

API Reference

Interface

IComputersSnapshotProvider

Namespace ADPlayground
Assembly ADPlayground
Modifiers abstract

Optional provider that can supply computer datasets from a local snapshot instead of querying LDAP. Implementations should return false when the request cannot be satisfied.

Methods

public abstract Boolean TryGetComputers(ComputerQueryOptions options, CancellationToken cancellationToken, out IReadOnlyList<ComputerRecord> computers) #
Returns: Boolean

Attempts to satisfy the given computer query from a local snapshot. Return false to fall back to LDAP when the request cannot be served (e.g., requires attributes not present in the snapshot).

Parameters

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

Returns

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