Gets the product license details as a JSON string.
const product = env.getProduct();const license = JSON.parse(product.getLicense());console.log(`License type: ${license.licenseType}`);console.log(`Expiration: ${license.expireDate}`); Copy
const product = env.getProduct();const license = JSON.parse(product.getLicense());console.log(`License type: ${license.licenseType}`);console.log(`Expiration: ${license.expireDate}`);
get-license snippet
Gets the product version information as a JSON string.
const product = env.getProduct();const version = JSON.parse(product.getVersion());console.log(`Senzing ${version.VERSION} (${version.BUILD_DATE})`); Copy
const product = env.getProduct();const version = JSON.parse(product.getVersion());console.log(`Senzing ${version.VERSION} (${version.BUILD_DATE})`);
get-version snippet
Gets the product license details as a JSON string.