Navigation:  Function Reference >

GetWebActivation

Previous pageReturn to chapter overviewNext page

 

Retrieves the status of the field Activation for an module.

 

Generator - field Activation

 

Name

GetWebActivation                                                                                 

Purpose

Get the web activation state for a module.

Params

Parameter

Type

Example

Note

ModuleID

String

D1001

Unique ModuleID identifies the module which is queried

Returncode

Returncode

Type Integer

Note

Web activation state

0 = none, 1 = required, 2 = done, 3 = erroneous

Usage

Determines the state of the module regarding activation on Web Activation Server.

If this valus is 0 (none) no further action is required

If this valus is 1 (required) or 3 (erroneous) a web activation (with WebRegister) should be done

If this value is 2 (done) no further action is required because that module is already activated.

Notice: The web activation state is only a status information what to do. It triggers no automatic action. If a module has state 1 there is no implicit WebRegister call.

Sample

 

  iWA := lic.GetWebActivation(D1001);

  if (iWA = 1) or (iWA = 3) then

  begin

     << call WebRegister for module D1001>>

  End

  Else

  Begin

     << no activation necessary or activation already done>>

  end

  ...

See also

WebRegister

 

 


Page url: http://www.helpserver.biz/onlinehelp/lp/easygo/2.5/help2000/index.html?fr_getwebactivation.htm