[ejabberd] Find out if user already exist - ejabberd admin
monkeyfdude at gmail.com
Tue May 26 20:20:25 MSK 2015
Thank you for the response. For now, I am relying on parsing the
ejabberdctl output. I am not sure if that could be considered a hack in the
absence of any api to do the same.
On Tue, May 26, 2015 at 2:21 AM, Holger Weiß <holger at zedat.fu-berlin.de>
> * Gaurav Jain <monkeyfdude at gmail.com> [2015-05-23 16:52]:
> > I create users with ejabberd_admin register command. I do not use in-band
> > regsitration.
> > For the same I wanted to find out, if user already exist. I get following
> > error from ejabberd when sent a request thru node.js server.
> > What should I look for in the error message to consistently find out if
> > user already exists?
> > Is there any other API to do the same?
> That node.js code seems to run ejabberdctl to call the register command.
> If you want to avoid parsing the ejabberdctl output, you could use the
> XML-RPC interface instead:
> ejabberd mailing list
> ejabberd at jabber.ru
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ejabberd