Name |
StopConcurrentUsage |
||||||||||||||||
Purpose |
Stops the concurrent usage of a module for a user |
||||||||||||||||
Params |
|
||||||||||||||||
Returncode |
|
||||||||||||||||
Usage |
An alternative for quit which stops all local concurrent users. StopConcurrentUsage only stops the specified user for the specified module and frees that one slot for other users. |
||||||||||||||||
Sample |
iRes := lic.StopConcurrentUsage(‘D1006’, ‘’, true); if iRes = 0 then begin << successfully removed >> ... end else if iRes = 256 then begin << user on that module probably wasn’t active >> ... end else begin << another error occurred >> ...
|
||||||||||||||||
See also |
Concurrent User Modules, Validate, Quit, GetCUIsRunning, GetCUNextValidate, GetCULastValidate, GetCURunCounter |
If you want to remove the user from all modules, use QUIT at the end of your application.