Kaspersky Security Center Automation  10.0
HRESULT IKlAkAdHosts::GetChildOUs ( [in] long  idOU,
[in] IKlAkCollection pFields,
[out, retval] IKlAkCollection **  ppInfo 

Acquire list of child OUs for specified OU.

Returns list of child organization units for specified organization unit

idOU id of organization unit (or 0 to acquire root of hierarchy)
pFields fileds names to acquire (see List of attributes of organization units for attribute names).
Return values:
ppInfo IKlAkCollection array of objects IKlAkParams for each child OU containing specified attributes

See also Creating group structure based on cached AD organization units structure sample