Skip to main content

CreateUser

Stable

Create a user (authenticated). If samlId is provided, caller must be super admin.

Signature

mutation {
CreateUser(firstName: ..., lastName: ..., mobile: ..., email: ..., persona: ..., firstAccountInformation: ...)
}

Retourne : User!

Arguments

NomTypeRequisDéfautDescription
firstNameString!
lastNameString!
mobileString!
emailString!
personaPersona!
firstAccountInformationNewUserAccountInformationInput!
activeBooleanfalseActivate the access without review
withEmailBooleanfalseSend an email to the user when activating the access
distributorAdvisorIdID
localeSupportedLocale
samlIdStringSAML identifier. Only super admins can set this.

Exemple

mutation {
CreateUser(
firstName: $firstName
lastName: $lastName
mobile: $mobile
email: $email
persona: $persona
firstAccountInformation: $firstAccountInformation
) {
# Sélectionner les champs souhaités
}
}