im trying to insert in res.users with this code:
$values= array( "name"=>new xmlrpcval($name,"string"), "login"=>new xmlrpcval($login,"string"), "password"=>new xmlrpcval($psw,"string"), "lang"=>new xmlrpcval("it_IT","string"), "company_id"= new xmlrpcval($company,"many2one"); ); echo $id= $this->create($values,"res.users");
Im using a user with all the possible privileges...
The function return a -1 state that means that i ve no permission or the format is not corrected.