KSC Open API
Kaspersky Security Center API description
binary RspAdUaRelation::MakeupContextForResponse ( wstring  wstrUaHostId,
wstring  wstrAdDomain 
)

Create context to execute XDRO responses.

Creates context for the given host to execute XDRO responses by its means

Parameters:
wstrUaHostIdGUID host name of the UA or empty string for Administration Server's Network Agent
wstrAdDomainActive Directory domain name in lowercase FQDN format, e.g. "mycompany.com"
Returns:
The context to put into the XDRO response while executing it by means of the specified host wstrUaHostId. Returned context is bound to the specified host wstrUaHostId, don't try to re-use it with some another host.
Note:
if wstrUaHostId is empty then current session must target the physical server otherwise exception STDE_NOTPERM is thrown.
Exceptions:
STDE_NOTPERMOperation is prohibited (e.g. wstrUaHostId does not have UA role, or an attempt to access physical server in context of virtual one, or this feature is disabled)
See also: