<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>Remove User from Roster Group</TITLE>
</HEAD>
<BODY>
<BR>
<P><FONT SIZE=2>Kayo, folks...</FONT>
<BR><FONT SIZE=2> Trying to figure out the syntax involved in removing a user from a roster group.</FONT>
</P>
<P><FONT SIZE=2> Presently, I send the following packet to set the user's groups, what is the syntax to </FONT>
<BR><FONT SIZE=2>remove, say the "school" group?</FONT>
</P>
<P><FONT SIZE=2><iq type="set" id="uniquevalue"> </FONT>
<BR> <FONT SIZE=2><query xmlns="jabber:iq:roster"></FONT>
<BR> <FONT SIZE=2><item jid="user@server" name="Some User"> </FONT>
<BR> <FONT SIZE=2><group>friends</group> </FONT>
<BR> <FONT SIZE=2><group>school</group> </FONT>
<BR> <FONT SIZE=2></item> </FONT>
<BR> <FONT SIZE=2></query> </FONT>
<BR><FONT SIZE=2></iq> </FONT>
</P>
<BR>
<P> <FONT SIZE=2>Probably a more comprehensive question would be, do I need to send ALL roster item</FONT>
<BR><FONT SIZE=2>info EACH TIME I want to change a single attribute. Do I need to send jid, name, ask, subscribe,</FONT>
<BR><FONT SIZE=2>and all groups every time I want to change the rosteritem? Is there a way to simply signify </FONT>
<BR><FONT SIZE=2>that only x attribute needs to be changed, or are attributes ONLY changed when they are included</FONT>
<BR><FONT SIZE=2>in the body of the roster request. Meaning: if there is group info, only change that, if there</FONT>
<BR><FONT SIZE=2>is name info, only change that, etc?</FONT>
</P>
<BR>
<P><FONT SIZE=2>Matt Diez</FONT>
</P>
<BR>
<BR>
<BR>
</BODY>
</HTML>