Skip to main content

createUser

Creates a new user based on the input provided.

createUser(
username: String!
name: String!
password: String!
email: String!
permissions: UserPermission
): User

Arguments

createUser.username ● String! non-null scalar

The username that the user will use in order to login

createUser.name ● String! non-null scalar

The full name of the user

createUser.password ● String! non-null scalar

The user's email password.

The criteria for the password are:

- At least one lowercase letter.
- At least one uppercase letter.
- At least one special character or a digit.
- At least 8 characters long.

createUser.email ● String! non-null scalar

The user's email address

createUser.permissions ● UserPermission enum

The permissions that the user will have

Type

User object