Hai,
I have been using the function MysqlFE::userdbprivs() for an account. Am getting the result as 1. No boolean values are getting displayed in the result. The code is as below:
include("xmlapi.php");
$db_host = "aaa";
$cpuser = "bbbb";
$xmlapi = new xmlapi($db_host);
$xmlapi->password_auth(role,pass);
$result=$xmlapi->api2_query($cpuser,'MysqlFE','userdbprivs',array(dbname,username));
The result am getting is:

SimpleXMLElement Object
(
[apiversion] => 2
[data] => SimpleXMLElement Object
(
)

[event] => SimpleXMLElement Object
(
[result] => 1
)

[func] => userdbprivs
[module] => MysqlFE
)
Please help me to find where is the error?