Kaspersky Security Center Automation  10.0
HRESULT IKlAkGroups::UpdateGroup ( [in] long  nGroup,
[in] IKlAkParams pInfo 

Change attributes of existing administration group.

Changes specified attributes of the administration group.

nGroup id of the group
pInfo IKlAkParams container with group attributes. May contain following attributes (see List of group attributes).
  • "name"
  • "parentId"
  • "autoRemovePeriod"
  • "notifyPeriod"

See JScript call sample below.

	var oGroups = new ActiveXObject("klakaut.KlAkGroups");
	oGroups.AdmServer = ...
	var lGroupId = ...
	//Fill container with group name and parent group id
	var oProps = new ActiveXObject("klakaut.KlAkParams");
	oProps.Item("name") = "TestGroup new name";
	//Update group
	oGroups.UpdateGroup(lGroupId, oProps);