UpdateUserInfosAndPermissions
Signature
mutation {
UpdateUserInfosAndPermissions(userId: ...)
}
Retourne : User
Arguments
| Nom | Type | Requis | Défaut | Description |
|---|---|---|---|---|
userId | ID! | ✓ | — | — |
roles | [Role] | — | — | |
segments | [ID] | — | — | |
persona | Persona | — | — | |
firstName | String | — | — | |
lastName | String | — | — | |
mobile | String | — | — | |
email | String | — | — | |
distributorAdvisorId | ID | — | — | |
distributorNetworkId | ID | — | — | |
userGroupId | ID | — | New user group ID. Cross-persona switching between admin and super_admin teams is allowed with ROLE_CAN_MANAGE_SUPER_ADMIN. |
Exemple
mutation {
UpdateUserInfosAndPermissions(
userId: $userId
) {
id
active
email
lastLogin
mobile
firstName
lastName
persona {}
personaDetailed {}
userGroup {}
accounts {}
roles
emailsInCopy
isPasswordDefined
portfolio {}
unactiveComment
acceptedAt
createdAt
userSegments {}
segments {}
distributedByAdvisor {}
distributedBy {}
representedDistributorNetwork {}
tosAcknowledgedAt
locale {}
localeDetailed {}
lastLoginMethod {}
signupUrlParameters {}
userAccountPermissions {}
userAccountNotifications {}
}
}