Assign user to a group while registering the id wi - WeOnlyDo Discussion board

Assign user to a group while registering the id wi (wodXMPP)

by Surendra Mohan, Tuesday, March 16, 2010, 16:55 (5126 days ago)

Hi,

Is it possible to add an user to a group at the time of registering the id using object.Register = True and object.Connect

Re: Assign user to a group while registering the i

by wodDamir, Tuesday, March 16, 2010, 17:13 (5126 days ago) @ Surendra Mohan

Hi,

I'm not really sure what is it exactly that you're trying to do. When you set Register = True, this means that the account is going to be registered on the server when you connect to it.

However, you can't set Group for yourself. You can do so for other contacts in your contact list however.

Regards,
Damba

Re: Assign user to a group while registering the i

by dsurendramohan, Wednesday, March 17, 2010, 17:37 (5125 days ago) @ wodDamir

Hi Damba,

Thanks for the reply.

I have created 2 groups GroupA and Group B in my Server (Open Fire)
My requirmeent is that while creating the user, i should be able to create a user within a specific Group. So that I need not add other users within the group as Buddy to the new user. This option is required as we are going to create users directly from the backend.

Thanks
D.Surendra Mohan

Re: Assign user to a group while registering the i

by woddrazen, Wednesday, March 17, 2010, 19:49 (5125 days ago) @ dsurendramohan

Hi,


Did you try this using some other XMPP client maybe? I tried with Spark (OpenFire client) but I don't see such option to join server group when registering with server.

Actually I don't see option to join server group from client side at any time.

Are you able to do this from client side at all?


Drazen