@microsoft/windows-admin-center-sdk
Version:
Microsoft - Windows Admin Center Shell
27 lines (26 loc) • 940 B
TypeScript
import { Observable } from 'rxjs';
import { GatewayConnection } from '../gateway-connection';
import { AccountInfo } from './models/account-info';
import { ActiveDirectorySearchOptions } from './models/active-directory-search-options';
/**
* Active Directory Service implementation.
*/
export declare class ActiveDirectory {
private gateway;
defaultDirectorySearchSizeLimit: number;
readonly isGatewayDomainJoined: Observable<boolean>;
private isGatewayDomainJoinedSubject;
/**
* Initializes a new instance of the ActiveDirectory class.
* @param gateway the gateway instance.
*/
constructor(gateway: GatewayConnection);
/**
* Search computer list from active directory through gateway api
*/
search(options: ActiveDirectorySearchOptions): Observable<AccountInfo[]>;
/**
* Get the appropriate search type string from the search options
*/
private getSearchType;
}