API Reference
Class
DataBus
Default IDataBus implementation that defers to ADPlayground gatherers. Caches are pre-warmed by the stager; even without staging this remains safe.
Inheritance
- Object
- DataBus
Constructors
public DataBus() #Methods
public virtual Task<IReadOnlyList<ComputerRecord>> Computers(ComputerQueryOptions options, CancellationToken cancellationToken = null) #Returns:
Task<IReadOnlyList<ComputerRecord>>Returns computer records for the specified options.
Parameters
- options ADPlayground.ComputerQueryOptions
- Computer query options.
- cancellationToken System.Threading.CancellationToken = null
- Cancellation token.
public virtual async Task<GroupMembershipResult> GroupMembers(String identity, CancellationToken cancellationToken = null) #Returns:
Task<GroupMembershipResult>Resolves group membership for the given identity.
Parameters
- identity System.String
- User/group SID or DN.
- cancellationToken System.Threading.CancellationToken = null
- Cancellation token.
public virtual Task<IReadOnlyList<UserRecord>> Users(UserQueryOptions options, CancellationToken cancellationToken = null) #Returns:
Task<IReadOnlyList<UserRecord>>Returns user records for the specified options.
Parameters
- options ADPlayground.UserQueryOptions
- User query options.
- cancellationToken System.Threading.CancellationToken = null
- Cancellation token.