Show/Hide Toolbars

Licence Protector 5

 

Find out if a user / PC / item is using a license of a module.

 

Name

ExistsEntry                                                                                                  

Purpose

Checks if an entry (user, computer, item) is registered in a 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 Boolean

Note

True

This entry exists in the specified module

False

This entry does not exists in the specified module (or an error occurs)

Usage

E.g. if you want to check if a user is already in the module registered

Sample

 

  bOk := lic.ExistsEntry(‘D1001’, ‘John’);

  if bOk then

  begin

         << use the information >>

         ...

  end

  else

  begin

         ...

See also

IsEntryActivated, DeactivateEntry, ActivateEntry, GetEntriesOfModule, RemoveDeactivated

 

 

To retrieve all entries of a module use GetEntriesOfModule