Removes (deletes) all users, PCs or items from a module. The license for each item is then available again.
Sample
6 user license: 4 users are using a license and 2 licenses are free. After using RemoveAllItems all 6 licenses are available again.
Name |
RemoveAllItems |
||||||||
Purpose |
Physically removes all users, PCs or items from a module. |
||||||||
Params |
|
||||||||
Returncode |
|
||||||||
Usage |
Remove all users or items (not only the deactivated ones) from the license file by calling RemoveAllItems. |
||||||||
Sample |
iRes := lic.RemoveAllItems(‘D1001’); if iRes <> 0 then begin << an error occurred >> ... end else begin << module is now empty, no items or modules in it anymore, continue >> ... |
||||||||
See also |
ExistsEntry, DeactivateEntry, ActivateEntry, GetEntriesOfModule, IsEntryActivated, RemoveDeactivated |
If you want to remove only a single item / user, then
•Deactivate the item / user
•Remove the deactivated item / user with command RemoveDeactivated.