Licence Protector

ExistsEntry

Hide Navigation Pane

ExistsEntry

Previous topic Next topic  

ExistsEntry

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

 

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