Hello
I just found the way to get occupants. You need to have "roomname" and "jid" to get the occupants list
MultiUserChatService muChatService = XMPPServer.getInstance().getMultiUserChatManager().getMultiUserChatServices().g et(0);
Collection<MUCRole> occupants = muChatService.getChatRoom("roomnamehere", jid).getOccupants();