Use the Create user operation to bulk create users in your Mosaic app.
Note
For the purpose of creating users, the following fields should be set as follows:
- Credentials to connect with: The
Client IDandClient Secretof any application in your tenant. Retrieve the credentials from any application in your tenant (available in the application settings). These credentials are not scoped to a specific app—they grant access to the entire tenant. Once saved, the credentials are stored as aMosaic accountand can be updated at any time. - Resource:
Identity management - Operation:
Create Users
The Users field allows you to add an array of users. For each user, you can include one or more of the following pieces of information:
email: Primary email address of the userphone_number: Primary phone number of the user, specified in E.164 formatusername: Username used to identify the usersecondary_emails: Secondary email addresses to add to user's current emails (array of strings)secondary_phone_numbers: Secondary phone numbers to add to user's phone numbers, each specified in E.164 format (array of strings)birthday: User's birthday (string date-time>)address: User's addresscountry: Country of the userstate: State of the usercity: City of the userstreet_address: Street address of the userpostal_code: Postal code of the usertype: Type of address. Enums:Home,Work,Other(array AddressType)
name: Object describing user's full nametitle: Title of the userfirst_name: First name of the userlast_name: Last name of the usermiddle_name: Middle name of the user
external_account_id: User identifier in an app, set by the appcustom_app_data: Custom data object for app-related user infopicture: The picture of user, specified as a URLlanguage: The language of the user, as provided by the browser using the Accept-Language header fieldcustom_data: Custom data object for tenant user infoexternal_user_id: A unique identifier in a tenantdelegated_access: If this user is a dependent, this defines the permissions that the primary user will have to act on behalf of the dependent useractor_id: Identifier of the primary userpermissions: List of permissions the primary user will have
As the Transmit node is run, the user is created. The Result displays the following details:
- total_users: Total number of users created
- created_user_ids: List of IDs of the created users
- errors: List of errors
- errors: List of error messages
- user_identifier: Identifier of the user with errors