code: public void grantOwnership(Collection<? extends Jid> jids) throws XMPPErrorException, NoResponseException, NotConnectedException, InterruptedException {
          changeAffiliationByAdmin(jids, MUCAffiliation.owner);
      }
docs: Grants ownership privileges to other users. 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 jids the collection of bare XMPP user IDs of the users to grant ownership.
  @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