addGroup

Adds a group to a route.

Syntax

addGroup routeUid, capability, groupname
Table 1. addGroup syntax
Parameter Data type Description
routeUid string UID of route between the local and external community.
capability integer Numerical index for capabilities. Only 2 (all capabilities) is supported.
  • 0 returns instant messaging
  • 1 returns presence
  • 2 returns all capabilities
groupname string Group name.

Purpose

The addGroup command gives a group access to an external community. Group operations may only be performed on all capabilities.

Sample

set ons [$AdminControl completeObjectName type=RTCAdminMbean,*]
$AdminControl invoke $ons addGroup "$somerouteuid 2 sales"