powered by Jive Software

MUCRole and adding users to chat

HI,

I wanna add a user to a multi user chat dynamically without him doing anything…

how can i do it ?

I saw on the API the following :

server = XMPPServer.getInstance().

server.getMultiUserChatServer().getChatRoom(…).

addParticipant(…);

but i couldn’'t find out how can i get the role of the user…?

and what if i wanna create an MUCRole on the fly?

Best,

Yoni.