Licence Protector

ActivateEntry

Hide Navigation Pane

ActivateEntry

Previous topic Next topic No directory for this topic  

ActivateEntry

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

 

Name

ActivateEntry                                                                                              

Purpose

Activates an existing entry (user, computer, item) in the specified module.

Params

Parameter

Type

Example

Note

ModuleID

String

D1001

Unique ModuleID – identifies the module to be tested

Entryname

String

John

Name of the entry (user or computer or item)

Returncode

Returncode

Type Integer

Note

0

The entry was successfully activated

256

The Module was not found

4098

The Entry was not registered in that module

4099

This module type does not have entries

32

There is no free license.

All other values – see return codes

The operation was not successful

Usage

Activates an entry. It doesn’t matter if it is already activated!

Sample

 

  iRes := lic.ActivateEntry(‘D1001’, ‘John’);

  if iRes = 0 then

  begin

    << successful >>

         ...

  end

  else

  begin

     << an Error occurred >>        

     ...

See also

ExistsEntry, IsEntryActivated, DeactivateEntry, GetEntriesOfModule, RemoveDeactivated

.