# user_create



{{< badge >}}Function{{< /badge >}}

Arg | Description | Type
----|-------------|-----
user|The user to create or update.|string (required)
roles|List of roles to give the user.|list of string (required)
password|A password to set for the user (If not using SSO this might be needed).|string
sub|A sub value for OIDC pinning.|string
orgs|One or more org IDs to grant access to. If empty we use the current org.|list of string

**Required permissions:** `SERVER_ADMIN`

### Description

Creates a new user from the server, or updates their permissions or reset their password.


