KSC Open API
Kaspersky Security Center API description
array AdTenantMngr::GetScannerTenants ( wstring  wstrScanningHost)

Get all tenant identifiers for AD scanner.

Parameters:
[in]wstrScanningHost- Name ("KLHST_WKS_HOSTNAME") of the scanning host if scanning host is UA, empty string if scanning host is Administration Server.
Returns:
- Tenant identifiers array. Each element of the array is 16-byte binary value
Exceptions:
STDE_NOACCESSattempt to get tenants without read access to the host