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 Fri, 04 Sep 2026 23:32:16 +0000