KSC Open API  13.1
Kaspersky Security Center API description
array UserDevicesApi::GetHostsUmdmInfo ( array  pHosts)

Retrieves information about umdm hosts.

Retrieves the following information about umdm hosts (paramArray of paramParams):

  • "KLMDM_DEVICE_HOST_NAME" (paramString) Device host identifier, the same as "KLHST_WKS_HOSTNAME", see List of device attributes.
  • "KLMDM_DEVICE_ID" (paramInt) Device integer identifier. See List of device attributes.
  • "KLMDM_DEVICE_PRODUCT_NAME" (paramString) Internal product name. See product-name in umdm protocol description.
  • "KLMDM_DEVICE_PRODUCT_VERSION" (paramString) Internal product version. See product-name in umdm protocol description.
  • "KLMDM_DEVICE_PLATFORM" (paramInt) Device platform type. See Platform Type enum for platform definitions.
  • "KLMDM_DEVICE_SUPPORTED_COMMANDS" (paramLong) Bit mask means commands supported by device, see UMDM commands list
    Note:
    Method does not retrieve information for protocols 1 and 4! See Mobile device protocol ID for information about definitions for protocol ID's.
    Parameters:
    pHosts(array) Array of paramString of string host identifiers, no more than 100 elements.
    Returns:
    (array) paramArray of paramParams, containing information about umdm hosts. See detailed method description.
    Exceptions:
    STDE_NOACCESSif user does not have read access to one or more hosts, specified in pHosts.
    STDE_BADPARAMif pHosts is null, or empty, or size of array exceeds 100 elements