The getLicense function will get some information about the current license and display it on the command line.

Usage: getLicenseInfo -p product-code [-v version]

-p product-code   code for the license required
-v version        software version for validation

(Note that the above command line is a set of arguments that must be passed to the LicenseCommand class as explained in the parent document.)


This will display some information about the license for the given product.  Foe example: 

license-type: floating
product-code: u97w98u89g29dj
expires: Sun Mar 15 03:00:00 EDT 2009

If the license has been disabled, it will also display that information.