Help : some questions related to group/node

Hi,

I am planning to integrate ejabberd (Web chat) in my web application.

I have diffrent groups/sections in my sites. Also have some restriction to access one group to other. I need to integrate the chat in this environment. ie users in a group have NO permission to access the users in other group.

I think ejabberd support multiple groups. I have some doubts related to it.

1. Is group or node is the better option to select this condition?

2. how to create a group? (any shell scripts or other?)

3. how to get all the users in a particular group?

4. how to add a new user to a group? (any shell scripts or other?)

5. Is it possible to setup group level restriction?

Could you please help me?

Thanks in advance.

Syndicate content