View Single Post
  #1 (permalink)  
Old 06-29-2009, 01:43 AM
lvt lvt is offline
Registered User
 
Join Date: May 2009
Posts: 33
lvt is on a distinguished road
MysqlFE::userdbprivs() syntax

Can you please tell me the complete syntax of this function ? I tried with an user having several privileges but the API only returns one.

Here is the XML result :

Quote:
<cpanelresult>
<apiversion>2</apiversion>
<data>
<ALTER>1</ALTER>
</data>
<func>userdbprivs</func>
<module>MysqlFE</module>
</cpanelresult>
How to use this function to show a full list of privileges ?

My API call is the following

PHP Code:
<cpanelaction><module>MysqlFE</module><func>userdbprivs</func><apiversion>2</apiversion><args><user>{$info['user']}</user><db>{$info['db']}</db></args></cpanelaction
Thanks.
Reply With Quote