Available for: Content Management Server, Template Engine (up to version 6.6.1)
Task: The command checks whether a license is present for the specified application in the specified version.
Syntax:
licenseManager checkLicense appName version
Function parameters:
-
appNamespecifies the name of an application whose presence in thelicense.xmllicense file is to be checked. The name must be specified exactly the way it has been specified in the license file. -
versionis the version character string which is compared with the version string in the license file.
Return value if successful: If the application
appName is listed in the license file and if the version number in the
license file begins with version, the return value is the empty value.
Otherwise a corresponding error message is returned.
Necessary permissions: no restrictions
Example:
CM>licenseManager checkLicense CM 5