getGroupsByUserId
Syntax
getGroupsByUserId(userId)
Details
Get the group names that the user belongs to. It can only be executed by an administrator.
Parameters
userId is a string indicating a user name.
Returns
A STRING vector.
Examples
getGroupsByUserId("admin")
// output: ["MVP","MYMVP"]
