Update User node
The Update User node updates an existing user in IO. It allows you to add, modify, or remove user attributes during the flow execution.
This node is available in: Authentication, Admin, Self Service, API, Consent, Library, Custom, User Defined
User binding configurations
This section allows you to configure how the user is identified.
Username
You can bind the user either by username or by a specific attribute. The corresponding value must be specified (e.g. {{form.username}}).
An additional Ignore case option is available.
Node configurations
This section allows you to define the mapping between IO user attributes and the corresponding values while modifying/updating the user. Each value can be assigned a static value or dynamically populated using variables (e.g. {{form.username}}).
Rules are defined as: IO attribute : value retrieved from the node
Example: username: {{form.username}} / name: {{form.givenName}}
Operation
Define which operation to perform for the attributes:
- Add
- Replace
- Remove
For attribute manipulation functions, see Common Configurations.
Attributes can be saved into a variable for reuse by other nodes. See Common Configurations for details.
Default output node
- Success
- User not found
- Username Already Taken
- Extra Attributes Already Taken
- Failure
JSON metadata
{
"name": "update_user",
"active": true,
"bundleName": "am-users-nodes",
"bundleVersion": "1.0",
"nodeName": "UpdateUser",
"category": "user_management",
"deprecated": false,
"displayName": [{
"lang": "en",
"value": "Update User"
}, {
"lang": "it",
"value": "Update User"
}
],
"index": 5,
"inputs": [{
"name": "Input"
}
],
"outputs": [{
"name": "Success",
"level": "success"
}, {
"name": "UserNotFound",
"level": "warning"
}, {
"name": "UsernameAlreadyTaken",
"level": "warning"
}, {
"name": "ExtraAttributesAlreadyTaken",
"level": "warning"
}, {
"name": "Failure",
"level": "error"
}
]
}