*** account.php.groups	2010-02-02 15:39:55.000000000 +0100
--- account.php	2010-02-02 15:39:19.000000000 +0100
***************
*** 79,84 ****
--- 79,94 ----
          } elseif ($shell) {
              $table[_("Default Shell")] = $shell;
          }
+ 	// Test k2 groups memberships
+ 	$groups = &Group::singleton();
+ 	$group_list = $groups->getGroupMemberships(Auth::getAuth());
+ 	$i = 1;
+ 	$table[_("Number of Groups")] = count($group_list);
+ 	foreach ($group_list as $group_id => $group_name ) {
+ 	 $table[_("Group Membership $i")] = $group_name;
+ 	 $i++;
+ 	}
+ 
          if (is_a($quota = $mydriver->getQuota(), 'PEAR_Error')) {
              return $quota->getMessage();
          } elseif ($quota) {