BoxlangLicenseInfo
Retrieves the current BoxLang license status and information. This function returns details about the active license, including validity status, trial mode information, and license attributes.
Method Signature
BoxlangLicenseInfo()Arguments
No arguments.
Return Value
Returns a STRUCT with the following keys:
isValidLicense(BOOLEAN) - Whether a valid license is currently activeisTrialMode(BOOLEAN) - Whether the system is running in 60-day trial modeemail(STRING) - Email address associated with the license (if activated)serverType(STRING) - Server environment type:Production,Staging, orDevelopmentexpirationDate(STRING) - License expiration date in ISO format (if available)licenseType(STRING) - Type of license:BoxLang+orBoxLang++message(STRING) - Status message describing the current license state
Examples
Template Syntax
Script Syntax
Conditional Logic Example
Related
BoxlangLicenseActivate()- Activate a new license with email and keyBoxlangLicenseRefresh()- Refresh an existing license token
Last updated
Was this helpful?
