code: public void grantOwnership(Jid jid) throws XMPPErrorException, NoResponseException, NotConnectedException, InterruptedException {
          changeAffiliationByAdmin(jid, MUCAffiliation.owner, null);
      }
docs: Grants ownership privileges to another user. Room owners may grant ownership privileges.
  Some room implementations will not allow to grant ownership privileges to other users.
  An owner is allowed to change defining room features as well as perform all administrative
  functions.
  
  @param jid the bare XMPP user ID of the user to grant ownership (e.g. "user@host.org").
  @throws XMPPErrorException if an error occurs granting ownership privileges to a user.
  @throws NoResponseException if there was no response from the server.
  @throws NotConnectedException
  @throws InterruptedException