Creates a new site user and a login for that user with access to the zone of the current subsite.
The account user created will have a randomly generated GUID as a username. The result of the user profile data function will be saved against the account user's profile. A single login of the iCM Site User type will be added to the account, with its username set by the supplied username function. This login user will have a randomly generated password. Use the User - Set Password action to set up a user's password.
Properties
Label | Description | Type Name |
---|---|---|
Failure Message | Message to be displayed when an error occurs when trying to create the new user | FAILUREMESSAGE |
User Profile Data Function | The JavaScript function that is executed server-side to get the new user's profile datafunction(helper, emptyProfile) { | PROFILEDATAFUNC |
User Profile Type Name | Name of the type definition for objects that contain a user profile | PROFILETYPENAME |
Success Message | The message to display when the new user has been created successfully. Leave blank for no message | SUCCESSMESSAGE |
User Name Function | The JavaScript function that is executed server-side to get the new user's name. This is their login username. The account username will be a GUIDfunction( helper) { | USERNAMEFUNC |
User Name Unavailable Message | The message to display if the supplied user name is already in use | USERNAMEUNAVAILABLEMSG |
Stop Processing on Error | If true, and an error is encountered, further action fields on the form won't be processed. See The Form Lifecycle: Control and Action Processing for more information | STOPPROCESSINGONERROR |
Documentation | Add documentation to your field to help explain any complex functionality to future users. You might include information on what the field does and how it relates to other fields on the form. Notes added here are only ever visible in the Forms Designer, they can be searched for, viewed and downloaded from the action panel. See Common Field Properties for an example | DOCUMENTATION |
Last modified on November 11, 2022