Home
MatriX vNext
MatriX XMPP SDK ▼
Forum
About us ▼
Contact
Not logged in.
·
Lost password
·
Register
Forum
Search
Members
Forum:
agsXMPP
Simple question
Esofter
2009-10-25, 15:17
#1
Member since Oct 2009 ·
20
posts
Group memberships:
Members
Show profile
·
Link to this post
Subject:
Simple question
Hello.
I have a problem with getting all groups and users.
what methods returns it?
Alex
2009-10-26, 11:38
#2
Member since Feb 2003 ·
4449
posts · Location: Germany
Group memberships:
Administrators, Members
Show profile
·
Link to this post
you get all users and the groups they belong to in the OnRoster event at login when AutoRoster is set to true.
Alex
Esofter
2009-10-26, 16:13
#3
Member since Oct 2009 ·
20
posts
Group memberships:
Members
Show profile
·
Link to this post
Thank you!
I use the OnRosterItem event where through item we can get group name and user name.
I chack if this group not get yet, add this group to listgroups. Is it correct decision?
Alex
2009-10-26, 18:05
#4
Member since Feb 2003 ·
4449
posts · Location: Germany
Group memberships:
Administrators, Members
Show profile
·
Link to this post
rItem.Name
gives you the nickname if one is set.
rItem.GetGroups()
gives you a list of groups the contact belongs to.
Alex
Esofter
2009-10-26, 19:25
#5
Member since Oct 2009 ·
20
posts
Group memberships:
Members
Show profile
·
Link to this post
Alex, how I can set status to another user.
For example I have user-friend user1. Can I set him status?
Alex
2009-10-27, 11:08
#6
Member since Feb 2003 ·
4449
posts · Location: Germany
Group memberships:
Administrators, Members
Show profile
·
Link to this post
please study the MiniClient example, all you need is there.
Alex
Close
Smaller –
Larger +
Reply to this post:
Verification code:
Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys:
Special characters:
Forum:
agsXMPP