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 Wed, 22 Jul 2026 14:10:07 +0000