addUser

Adds a user with capabilities to a route.

Syntax

addUser routeUid, capability, username
Table 1. addUser 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
username string Name of user.

Purpose

The addUser command gives a user access to an external community. User operations may only be performed on all capabilities.

Sample

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