As miles wrote before, they are not there on purpose
Is the project your are developing in php or an other language?
I’m working at the moment on a remote administration thing in trunk,
which is already working via it’s command line interface. Maybe that
solves your problem too.
Ralf
shodanto schrieb:
I think class.boaccounts.inc.php is the file need to modify.
I have added a list_methods function to the class:
function list_methods($_type=‘xmlrpc’)
{
switch(is_array($_type) ? ($_type[‘type’] ? $_type[‘type’] : $_type[0]) :
$_type)
{
case ‘xmlrpc’:
$xml_functions = array(
‘list_methods’ => array(
‘function’ => ‘list_methods’,
‘signature’ => array(array(xmlrpcStruct,xmlrpcString)),
‘docstring’ => ‘Read this list of methods.’
),
‘read’ => array(
‘function’ => ‘add_user’,
‘signature’ => array(array(xmlrpcStruct,xmlrpcStruct)),
‘docstring’ => ‘Add a user.’
));
return $xml_functions;
}
return array();
}
And now admin.boaccounts.list_methods works fine.
But no other function works.
What else do i have to add to make add_user and add group work??
Milosch wrote:
I am pretty sure we disabled account administration via xml-rpc a long
time ago because its security had not been at least reviewed.
You should be able to do system.list_methods to see what is available
from the api. Not much there at this point. For enabled apps, at least
when this was written, typically addressbook.boaddressbook.list_methods
was then available.
shodanto wrote:
Hello,
i’m a XML-RPC newbee.
Could someone tell me please which object and methods i can use with
remote
RPC. Or where/how i can find them.
At this moment i’m trying to add a new user/account by XMLRPC but i can
find
the
propper method
I habe already tried:
admin.boaccounts.add_user
phpgwapi.accounts.list_methods
accounts.list_methods
and several others. I always get a ‘Access denied’ or some parse error.
But i am using an Admin account to connect.
I already tried calendar.bocalendar.search which works fine.
Thanks a lot
KZ
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It’s the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers
–
Ralf Becker
eGroupWare Training & Support ==> http://www.egroupware-support.de
Outdoor Unlimited Training GmbH [www.outdoor-training.de]
Handelsregister HRB Kaiserslautern 3587
Geschäftsführer Birgit und Ralf Becker
Leibnizstr. 17, 67663 Kaiserslautern, Germany
Telefon +49 (0)631 31657-0
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It’s the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers