forceOffUser(node: Node; process: Process) serverExecution;
The forceOffUser method of the System class requests the system object to force a sign-off operation for a specified process. The parameters of the forceOffUser method are listed in the following table.
Parameter | Description |
---|---|
node | Specifies the node to which the process belongs |
process | Specifies the process that is to be forced off |
The following example shows the use of the forceOffUser method:
vars nod : Node; proc : Process; begin foreach nod in system.nodes do foreach proc in nod.processes do if proc.signOnUserCode = "John" then system.forceOffUser(nod, proc); break; endif; endforeach; endforeach; end;