Description
This function grants all privileges for a PostgreSQL® database to a database user.
Examples
Note:
Use cPanel's API Shell interface (Home >> Advanced >> API Shell) to directly test cPanel API calls.
Parameters
Parameter |
Type |
Description |
Possible values |
Example |
name |
string |
Required The database user's name. |
A valid string. Note: If database prefixing is enabled, this value must include the database prefix for the account. |
example_dbuser |
database |
string |
Required The database's name. |
A valid string. Note: If database prefixing is enabled, this value must include the database prefix for the account. |
example_database |
Returns
This function only returns metadata.