I'm trying to add a user through an XML-RPC call. I have been successful 
managing devices this way but for some reason (user error) I can't get this one 
to work. It just returns 'Unauthorized'. The account info I am passing works to 
add a device. Can anyone tell me what I am missing?

$request = array('', 'userlist', 'manageUserFolder', 'timj', '[EMAIL 
PROTECTED]');

require_once 'Zend/XmlRpc/Client.php';
$c = new Zend_XmlRpc_Client('http://admin:[EMAIL 
PROTECTED]:8080/zport/dmd/ZenUsers');
echo $c->call('manage_addUser', $request);




-------------------- m2f --------------------

Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=15311#15311

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to