Simplified the API, removed the privileged user - now always use the agent system user for running system actions. One method has no return value and one has a return value. Now it is easy to perform a system action using: runAsAgent(ctx -> { // do work }); String result = runAsAgentWithResult(ctx -> { // do work return "done"; }); // execute a SystemAction runAsAgent(action); // execute a SystemActionWithResult String result = runAsAgentWithResult(actionWithResult); |
||
---|---|---|
.. | ||
assembly | ||
main | ||
runtime |