BoxlangLicenseActivate

Activates a BoxLang+ or BoxLang++ license using an email address and license key. This function connects to the Ortus Solutions licensing server to validate and activate your subscription license.

Method Signature

BoxlangLicenseActivate( email, licenseKey [, serverType ] )

Arguments

Argument
Type
Required
Description
Default

email

STRING

true

The email address associated with the license account

licenseKey

STRING

true

The license key to activate

serverType

STRING

false

The server environment type: Production, Staging, or Development

Production

Return Value

Returns a STRUCT with the following keys:

  • success (BOOLEAN) - Whether the activation was successful

  • message (STRING) - Status message or error description

  • isValidLicense (BOOLEAN) - Whether the license is valid

  • isTrialMode (BOOLEAN) - Whether the system is in trial mode

  • expirationDate (STRING) - License expiration date (if applicable)

Examples

Template Syntax

Script Syntax

Error Handling Example

Last updated

Was this helpful?