GetUser ($ id)
$groups = $u->getUserGroups();
foreach($groups as $groupID) {
$group = \Concrete\Core\User\Group\Group::getByID($groupID);
print $group->getGroupName();
}
Jacques William