@Override
    public void deleteUser(String username)
    {
        // all providers are read-only
        if (isReadOnly()) {
            throw new UnsupportedOperationException();
        }

        for (final UserProvider provider : getUserProviders())
        {
            if (provider.isReadOnly()) {
                continue;
            }
            provider.deleteUser(username);
        }
    }
Removes a user from all non-read-only providers.

@param username the username to delete.
xmppserver/src/main/java/org/jivesoftware/openfire/user/UserMultiProvider.java