Actions126
- User Actions
- Group Actions
- Content Actions
- Post Actions
- Comment Actions
- Like Actions
- Activity Actions
- Notification Actions
- Space Actions
- Calendar Actions
- CFile Directory Actions
- CFile Actions
- CFile Item Management Actions
- Survey Actions
- Task Actions
- Task List Actions
- Wiki Page Actions
- Mail Conversation Actions
- Mail Entry Actions
- Mail Recipient Actions
- Session Actions
- File Actions
- Space Membership Actions
- Topic Actions
- Survey Answer Actions
- Survey Answers Actions
- Wiki Page Revision Actions
- Mail Tag Actions
Overview
This node operation creates a new user in the HumHub platform. It supports setting user account details such as username, email, status, and content container ID, along with user profile information either as a JSON object or through a UI collection of profile fields. The password for the new user is also required. This operation is useful for automating user management tasks, such as onboarding new users with predefined profiles and credentials in HumHub.
Use Case Examples
- Automatically create new users in HumHub when a new employee joins a company, setting their profile details and password.
- Batch create users from a CSV file by mapping CSV columns to the node's input properties.
- Create users with complex profile data by passing JSON-formatted profile information.
Properties
| Name | Meaning |
|---|---|
| Authentication | Method of authentication to use for the API request (Basic Auth or JWT Token). |
| Username | The username of the user to be created. |
| The email address of the user to be created. | |
| Status | The status of the user, represented as a number. |
| Content Container ID | The ID of the content container associated with the user. |
| Json Parameter Profile | Flag indicating if the profile fields should be passed as a JSON object instead of UI fields. |
| Profile (JSON) | The user profile data as a JSON object, required if Json Parameter Profile is true. |
| Profile | The user profile data as a collection of individual fields, required if Json Parameter Profile is false. |
| Password | The password for the new user. |
Output
JSON
id- The unique identifier of the created user.accountusername- The username of the created user.email- The email of the created user.status- The status of the created user.contentcontainer_id- The content container ID associated with the created user.
profile- The profile information of the created user.
Dependencies
- HumHub API
Troubleshooting
- Ensure the profile JSON is valid if using the JSON profile parameter; invalid JSON will cause an error.
- Required fields such as username, email, and password must be provided; missing these will cause the operation to fail.
- Authentication credentials must be correctly configured for either Basic Auth or JWT Token; incorrect credentials will result in authentication errors.
Links
- HumHub API User Creation Guide - Official HumHub API documentation for creating users.
