/**
* Returns the name of all the groups that this user belongs to from the instance realm keyfile
*/
public String[] getUserGroupNames(String userName) throws MBeanConfigException
{
FileRealm realm = getInstanceRealmKeyFile();
try
{
return convertEnumerationToStringArray(realm.getGroupNames(userName));
}
catch(NoSuchUserException nse)
{
//String msg = localStrings.getString( "admin.server.core.mbean.config.no_such_user", mInstanceName, userName);
throw new MBeanConfigException(nse.getMessage());