Show/Hide Toolbars

Licence Protector 5

 

Users / PCs / items can be deactivated using the License Viewer or with command DeactivateEntry.

 

The license is then available again for another user / PC / item (RemainingLicenses is increased) and the user / PC / item can never use the module again.

 

 

Name

DeactivateEntry                                                                                          

Purpose

Deactivates 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 deactivated

256

The Module was not found

4098

The Entry was not registered in that module

4099

This module type does not have entries

All other values – see return codes

The operation was not successful

Usage

Deactivates an entry. It doesn’t matter if it is already deactivated!

Sample

 

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

  if iRes = 0 then

  begin

    << successfully deactivated >>

         ...

  end

  else

  begin

     << an Error occurred >>        

     ...

See also

ExistsEntry, IsEntryActivated, ActivateEntry, GetEntriesOfModule, RemoveDeactivated

 

 

Deactivated PC

Deactivated PC

 

 

You can remove the user / PC / item from the license file using RemoveDeactivated. The user / PC / item can then reuse the module again.