public void removeUser(UserData user, boolean fromServer)
{
//remove from the active server, if there is one
if (!fromServer && parentRegister != null && XCDERegisterProvider.getProvider().getCurrentRegister() == parentRegister)
{
parentRegister.getRoot().makeChange(new XCDERootDirectoryUserStimulusRemove(user.getUsername()));
}
users.remove(user);
//notify listeners
for (Iterator i = changeListeners.iterator(); i.hasNext(); )
((IUserDataListListener)i.next()).removeUser(user);