Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
artb #1
Member since Jun 2009 · 2 posts
Group memberships: Members
Show profile · Link to this post
Subject: Add a new Group, how?
Hi All,

I am trying to find out if there is a programmatic way defined in the library to add a new group to Openfire server I am using. I do not mean a chat group (although I am not certain if it is the same thing). Additionally, once a group is defined how to add users to it. Is this possible?

Any help will be greatly appreciated.

Kind Regards,

George
Avatar
Alex #2
Member since Feb 2003 · 4297 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
if you mean contacts groups then its pretty easy. The group is stored with the RosterItem. Look at the group methods and properties of RosterItem.

Alex
Avatar
artb #3
Member since Jun 2009 · 2 posts
Group memberships: Members
Show profile · Link to this post
Thanks for the answer Alex,

however, I do not mean user contact groups. I am referring to the groups defined in the server it self. Probably I am asking too much, since the library is stated as a client end library, not one for managing openfire. Thank you again.
Avatar
Alex #4
Member since Feb 2003 · 4297 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Quote by artb:
Probably I am asking too much, since the library is stated as a client end library, not one for managing openfire. Thank you again.
agsXMPP is for client, server and component development.
But this groups are special internal groups in Openfire, and AFAIK you can administrate them only over the Openfire Web interface, because the server does not expose a XMPP interface for them.

Alex
Avatar
javanesevn #5
Member since Apr 2008 · 74 posts · Location: Japan
Group memberships: Members
Show profile · Link to this post
In reply to post #3
Hi Artb,

You can fully manage group including add/update/remove groups and users via web service(plug-in).
Openfire server support enhancement feature by way of plug-in. Here is plugin develop guide.
 
This function is not hard to implement it. Try to refer other available plug-ins.

Best regards,
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: agsXMPP RSS