getNumOfGroupsByCommunities

Returns the number of groups that are present on a given community and capability.

Syntax

getNumOfGroupsByCommunities sourceName, destName, capability
Table 1. getNumOfGroupsByCommunities syntax
Parameter Data type Description
sourceName string Logical name of the local community.
destName string Logical name of the external or clearinghouse community.
capability integer Numerical index for capabilities. Only 2 (all capabilities) is supported.
  • 0 returns instant messaging
  • 1 returns presence
  • 2 returns all capabilities

Purpose

The getNumOfGroupsByCommunities command returns the number of groups present on a given community and capability.

Sample

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