/**
  * gets the groups the user belongs to.
  * @access public
  * @return array of CopixGroups
  */
 function getGroups()
 {
     $me =& CopixUserProfile::instance();
     return $me->profile->getGroups();
 }