KSC Open API
Kaspersky Security Center API description
RspAdUaRelation::ChangeState ( boolean  bEnabled)

Change state functionality XDRO responses, turns on and off.

This call allows you to enable or disable the XDRO responses functionality, in the disabled state you will not be able to react incidents in Active Directory.

Parameters:
bEnabledIndicates the status of the functionality, if true - the functionality will be enabled, if false - it will be disabled.
Exceptions:
STDE_NOTPERMOperation is prohibited.