I'm not sure we need another method for this since it can be accomplished using current methods. If a new method is created then the code in XOOPS 2.6 could be much simpler than example above.

$member_handler =& xoops_gethandler('member');
$group_names = $member_handler->getGroupList(new Criteria('uid', $GLOBALS['xoopsUser']->uid()));