SiteSettings.getCaptchaSettings (Method)

Returns a structure describing the settings for captcha fields.

Returns:

CaptchaSettings_Struct (struct)

Each row of the returned query results has the following fields:

Field Name Type Description
DefaultPassingScore CaptchaScore Default passing score for the submiited form. Only valid for captcha version 3.
ErrorMessage String_NonNull_NoCFML_255 The error message to display when the captcha string does not validate.
PrivateKey PlainText_100 The private API Key, or an empty string.
PublicKey PlainText_100 The public API Key, or an empty string.
Theme CaptchaTheme The theme to use when rendering the captcha field.
UseCaptcha UseCaptcha Captcha version to use. None for not using captcha.
VerificationType CaptchaVerificationType Type of verification to use for the captcha field, image or audio.

Context:

License Requirements (none)
Permission Requirements ContributorOrServerCode
Deny Context (none)
Require Context (none)
Author Lock (not required)
Transaction Logging Transaction logging is disabled for this method
Customization Customization is not supported for this method.

Error Codes:

None

Notes:

None