Takes the login provider user name returned from the user name function, looks up the account user the login is linked to, and updates the groups the account user is in.
Properties
Label | Description | Type Name |
---|---|---|
Failure Message | Message to be displayed when an error occurs when trying to update the user's groups | FAILUREMESSAGE |
User Groups Function | The JavaScript function that is executed server-side to set the user's new groups. It must return a comma-delimited list of group IDsfunction(helper, currentGroupIDs) { | GROUPSFUNC |
Success Message | The message to display when the user's groups have been successfully updated. Leave blank for no message | SUCCESSMESSAGE |
Account User ID Function | The JavaScript function that is executed server-side to get the ID of the user to update groups for, egfunction (helper) { | USERIDFUNC |
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 2 March 2022