This command allows to add a new module in an license file. Use DeleteModule to delete an existing module.

 

 

 

Name

addModule                                                                                          

Purpose

Generates a new Module in the license file.

Params

Parameter

Type

Example

Note

ModuleID

NSString

D1009

Unique ModuleID – identifies the new module, this input is mandatory

ModuleName

NSString

My New Module

Name of the new module

ModuleType

Integer

4

Type of the new module:

4 = Yes/No module type (must be set to 4)

licenses

Integer

0

not in use windows-logo-30x30

IsDemo

Boolean

False

True / False to set the DemoState

Expires

NSDate

0

Date when this module will expire, 0 for unlimited

Days

Integer

10

Number of days for the evaluation version

MaxExpires

NSDate

 

not in use windows-logo-30x30

Tag

NSString

 

not in use windows-logo-30x30

AllowDeactivate

Boolean

True

True / False - Not in use

ActivationState

Integer

0

Activation Status - should be set to 0 - see: getWebActivation

WorkflowType

Integer

0

not in use windows-logo-30x30

ModuleVerification

Integer

0

not in use windows-logo-30x30

ActivationStateAfterCPon

Integer

0

not in use windows-logo-30x30

Workflow

Integer

0

not in use windows-logo-30x30

Returncode

Returncode

Type Integer

Note

0

The new module was successfully created

4100

The ModuleID already exists in the license file

4101

One or more parameters are invalid

4099

This module type does not exists

All other values – see return codes

The operation was not successful

See also

deleteModule, existsModule, getModuleList