Navigation:  Function Reference >

RemoveDeactivated

Previous pageReturn to chapter overviewNext page

 

Name

RemoveDeactivated                                                                                    

Purpose

Physically removes all deactivated users or items from a module.

Params

Parameter

Type

Example

Note

ModuleID

String

D1001

Unique ModuleID identifies the module to be tested

Returncode

Returncode

Type Integer

Note

0

All deactivated users or items are removed

Other return codes

Operation failed, see list of return codes

Usage

Deactivate users or items and finally remove them from the licence file by calling RemoveDeactivated

Sample

 

  iRes := lic.RemoveDeactivated(D1001);

  if iRes <> 0 then

  begin

     << an error occurred >>

     ...

  end

  else

  begin

     << everything is fine, continue >>

     ...

See also

ExistsEntry, DeactivateEntry, ActivateEntry, GetEntriesOfModule, IsEntryActivated

 

 


Page url: http://www.helpserver.biz/onlinehelp/lp/easygo/2.5/help2000/index.html?fr_removedeactivated.htm