KSC Open API  13.1
Kaspersky Security Center API description
wstring AdHosts::GetChildComputers ( int  idOU,
array  vecFieldsToReturn,
int  lMaxLifeTime 
)

Acquire list of hosts located in "Unassigned computers" for specified OU.

Returns list of hosts located in "Unassigned computers" for specified organization unit.

Parameters:
idOU(int) id of organization unit
vecFieldsToReturn(array) fields names to acquire, following names may be specified:
  • adhst_id
  • adhst_idParent
  • adhst_idComputer
  • adhst_adgroups
  • KLHST_WKS_HOSTNAME
  • KLHST_WKS_LID
  • KLHST_WKS_GROUPID
  • KLHST_WKS_LAST_VISIBLE
  • KLHST_WKS_LAST_INFOUDATE
  • KLHST_WKS_STATUS
  • KLHST_WKS_LAST_UPDATE
  • KLHST_WKS_LAST_NAGENT_CONNECTED
  • KLHST_WKS_DN
  • KLHST_WKS_WINHOSTNAME
  • KLHST_WKS_DNSNAME
  • KLHST_WKS_WINDOMAIN
  • KLHST_WKS_WINDOMAIN_TYPE
  • KLHST_WKS_DNSDOMAIN
  • KLHST_WKS_CTYPE
  • KLHST_WKS_PTYPE
  • KLHST_WKS_OS_VER_MAJOR
  • KLHST_WKS_OS_VER_MINOR
  • KLHST_WKS_OSSP_VER_MAJOR
  • KLHST_WKS_OSSP_VER_MINOR
  • KLHST_WKS_CPU_ARCH
  • KLHST_WKS_IP_LONG
  • KLHST_WKS_STATUS_ID
  • KLHST_WKS_STATUS_MASK
  • KLHST_WKS_STATUS_HSDP
lMaxLifeTime(int) max result-set lifetime in seconds, not more than 7200
Returns:
(wstring) result-set ID, identifier of the server-side ordered collection. The result-set is destroyed and associated memory is freed in following cases:
See also: