[JDEV] Unregister (delete user) how?
David Waite
dwaite at jabber.com
Sun May 27 19:58:08 CDT 2001
There is no standard way to delete users for reuse - just to disable the
accounts, as you have found. The neccessary steps to delete the user
from the system will be to disable the account, to kick off all online
user sessions on that account, to send presence unsubscriptions to all
the users on the roster, and delete all data relating to the user. The
first three are pretty simple, the last is very difficult; no mechanism
in place and no simple rules exist to identify what data belongs to a
user.
-David Waite
Lars Petersen wrote:
> I've tried to send:
>
> <iq type="set" id="1234" to="jabberserver">
> <query xmlns="jabber:iq:register">
> <remove/>
> <key>
> da3a292ba68e00c40ee0566af517c80c965b85a8
> </key>
> </query>
> </iq>
>
> Key and stuff is made up here, I get this from the server:
>
> <iq type='result' id='1234'
> to='me at jabberserver/myres' from='jabberserver'/>
>
> But the user still exists, and when I try to create a new
> account with the same name I get "Username not available"...
>
> How may I delete a user from the system?
>
> Regards,
>
> Lars
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
More information about the JDev
mailing list