Licence Protector

GetEntriesOfModule

Hide Navigation Pane

GetEntriesOfModule

Previous topic Next topic  

GetEntriesOfModule

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

 

Name

GetEntriesOfModule                                                                                    

Purpose

Gets a list of all activated or deactivated entries (user, computer, item) in the specified module.

Params

Parameter

Type

Example

Note

ModuleID

String

D1001

Unique ModuleID – identifies the module to be tested

Activated

Boolean

True

Return the activated or the deactivated entries

Separator

String

;

Separator string e.g. a semicolon

Returncode

Returncode

Type String

Note

Empty

No users or an error occured

Full String

All users of the selected kind separated by the specified separator string e.g. John;Mary;Todd

Usage

Show you a list of all registered entries in that module

Sample

 

  sRes := lic.GetEntriesOfModule(‘D1001’, false, ‘;’);

  iErr := lic.LastReturnCode;

  if iErr <> 0 then

  begin

     << react on error code >>

     ...

  end

  else

  begin

     << process the list >>

     ...

See also

ExistsEntry, IsEntryActivated, ActivateEntry, DeactivateEntry, RemoveDeactivated