createUser
Less than 1 minute
createUser
createUser
Creates a new user (role with login capability) in the PostgreSQL database.
public createUser(string $name, ?string $password, array $privileges): boolParameters
| Parameter | Type | Description |
|---|---|---|
$name | string | the name of the user to create |
$password | string | optional password for the user |
$privileges | array | optional privileges to assign to the user |
Generated by Hazaar API Doc Generator on Fri, 05 Jun 2026 06:08:15 +0000