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 Tue, 21 Apr 2026 04:00:24 +0000