createUser
Creates a new user based on the input provided.
createUser(
username: String!
name: String!
password: String!
email: String!
isCaseResponsible: Boolean
roleId: ID
): 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.isCaseResponsible ● Boolean scalar
Allows a user to be assigned as case responsible
createUser.roleId ● ID scalar
The role ID to be assigned to the user