Checking Licenses in MQL

This task shows you how to check whether a particular app (or a app derived from that app) was reserved by the current user at login during the session.

This command cannot check for native app licenses since the native app is responsible for reserving its licenses.

  1. Start the MQL application.
  2. Run the command:

    check product license NAME {NAME} [dump [RECORDSEP]];

    where:

    NAME

    The name of the app license you checking.

    The command returns either "true" or "false" or if NAME is not a valid app, "invalid." If multiple app names are provided in the command, multiple "true" or "false" values separated by spaces are returned. You can specify a different separator character by using the standard dump keyword. For details on MQL commands, see "General Syntax" in the Reference Commands chapter of the Studio Modeling Platform MQL Guide.