Syntax
list remoteusergroups ( string hostname, string username )
Description
remoteusergroups returns a list of groups that the specified user belongs to on the remote system.
The remote host must be configured to run either pmmasterd or pmclientd to respond to this function.
Example
# print root's groups on the runhost print(remoteusergroups(runhost,"root"))