nitroHandler.confirm_user (send user confirmation code)

This function is what you use to confirm a newly registered user, The code will be sent to their e-mail address. It is strongly advised to instruct your users to copy/paste the confirmation code into your dialog (you must create this dialog on your own) so that you can send the code back to activate their account and request a license.

Parameters: Two <string> values, which must be specified in the following order:

email --the email address to check
code – the confirmation code sent to the user in their confirmation email.

Return values: A <struct> of name-value pairs, containing the following values:

value type description
error <int> An error code. See below for a list of error codes.
message <string> A text description of the error code.

For example, using a Tcl client you could enter

nitroHandler.confirm_user fmurphy@coulter.com 3821e2d3-6739384e-81df2046-814117a2

And you might get back

{error 0 message Ok}

Comments