Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
aman7 #1
Member since Jun 2013 · 8 posts · Location: india
Group memberships: Members
Show profile · Link to this post
Subject: getting affiliation of user
hello,
i am using agsxmpp for my app.
i want to know how to get an user's affiliation, when he/she join the room
This post was edited on 2013-08-14, 14:14 by aman7.
Avatar
Alex #2
Member since Feb 2003 · 4322 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
This is a code snippet from the MiniCLient example:

  1. var mucUser = pres.MucUser;
  2. if (mucUser != null)
  3. {
  4.    lvi.SubItems[2].Text = mucUser .Item.Affiliation.ToString();
  5.    lvi.SubItems[3].Text = mucUser .Item.Role.ToString();
  6. }
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