getListGroupsOfUser

Returns the list of groups a person is member of, including nested groups.

Syntax

getListGroupsOfUser(vmmid)

Purpose

The getListGroupsOfUser command returns a list of groups of which the user is a member, based on the person's VMM ID.

Data type: string

Sample

set ons [$AdminControl completeObjectName type=RTCAdminMbean,*]
$AdminControl invoke $ons getListGroupsOfUser(vmmid)