Licence Protector

RemainingLicenses

Hide Navigation Pane

RemainingLicenses

Previous topic Next topic  

RemainingLicenses

Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic!  

 

Name

RemainingLicences                                                                                  

Purpose

Gets the remaining licenses of the module.

Params

Parameter

Type

Example

Note

ModuleID

String

D1005

Unique ModuleID – identifies the module to be tested

Returncode

Returncode

Type Integer

Note

-1

It is a module type that has no number of licenses

>= 0

licenses left, between 0 and Totallicences

A counter-module always returns the value of Totallicences

Usage

E.g. to show the user how many items or users are left for using a part of your software.

Sample

 

  iLics := lic.Remaininglicences (‘D1005’);

  << use the extracted value >>

  ...

See also

Totallicences, Module types