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 | the name of the user to create | |
$password | optional password for the user | |
$privileges | optional privileges to assign to the user |
Generated by Hazaar API Doc Generator on Sun, 08 Nov 2026 03:36:14 +0000