user_create
Type: Function · Category: server
Creates a new user from the server, or updates their permissions or reset their password.
| Argument | Type | Description |
|---|---|---|
user |
string (required) | The user to create or update. |
roles |
list of string (required) | List of roles to give the user. |
password |
string | A password to set for the user (If not using SSO this might be needed). |
sub |
string | A sub value for OIDC pinning. |
orgs |
list of string | One or more org IDs to grant access to. If empty we use the current org. |
Required permissions: SERVER_ADMIN
Platforms: macOS, Linux, Windows
Source: vql/server/users/create.go