KSC Open API  13.1
Kaspersky Security Center API description
array HostGroup::GetDomains ( )

Returnes a list of the Windows domains in the network.

Returns:
(array) array of domains. Every array item is a container with the following attributes:
  • KLHST_WKS_WINDOMAIN (paramString) - Domain name.
  • KLHST_WKS_WINDOMAIN_TYPE (paramInt) - Domain type:
    • 0 - Windows NT domain.
    • 1 - Windows work group.