Description
This function adds a PostgreSQL® database user.
Warning:
- UAPI (recommended) —
Postgresql::create_user
— This function creates a PostgreSQL® database user. - cPanel API 2 — None.
Examples
Parameters
Parameter |
Type |
Description |
Possible values |
Example |
user |
string |
Required The database's name. |
The cPanel username, an underscore (_), and the database user's name. Warning:
|
cpusername_dbusername |
password |
string |
Required The new database user's password. |
A secure password. |
12345luggage |
Returns
This function does not return output.