HOW TO FIND OUT CURRENTLY ONLINE USER BY USING XML RPC

Hi

I need to find out the currently online users on my servers using xmlrpc.
Any possibility there?

Actually i have try below this:

3> xmlrpc:call({127, 0, 0, 1}, 4560, "/", {call, connected_users,[]}).
{ok,{response,{fault,-1,
"Unknown call: {call,connected_users,[]}"}}}

4> xmlrpc:call({127, 0, 0, 1}, 4560, "/", {call, connected_users,[{struct, []}]}).
{ok,{response,{fault,-1,
"Unknown call: {call,connected_users,[{struct,[]}]}"}}}

And how to pass ejabberdctl commands using xmlrpc?
Please help

Syndicate content