command cdb_createUserAccount pEmail, pPassword, pFirstName, pLastName, PreVerified, pAutoAuth, pProjectName


Summary

This command creates a user account record in the cdbUsers table of a specific project and sends the user an email to verify their account.

Inputs

  • pEmail (String) - The email to associate with the user's account.

  • pPassword (String) - The password to associate with the user's account.

  • *pFirstName (String) - The user's first name.

  • *pLastName (String) - The user's last name.

  • *pPreVerify (Boolean) - Whether to automatically verify the user or not. If this is true then the user will not need to verify their email prior to being able to log in. If this is false or is not set, the user will need to verify their email prior to logging in.

  • *pAutoAuth (Boolean) - Whether to automatically log the user in or not. If this is true then the user will automatically be authed.

  • *pProjectName (String) - The name of the project to create the user account for. If empty, it will default to the project in your configuration.

*optional parameter.

Additional Requirements

This API call requires internet access.

Examples

# Project Name: meetings

local tProjectName, tEmail, tPassword, tFirstName, tLastName, tPreVerify, tAuth

put "cora@fakeemail.com" into tEmail
put "corasfakeemail" into tPassword
put "Cora" into tFirstName
put "Doe" into tLastName
put true into tPreVerify
put false into tAuth
put "meetings" into tProjectName

cdb_createUserAccount tEmail,tPassword,tFirstName,tLastName,tPreVerify,tAuth,tProjectName