GetAIOperators

GetAIOperators(): Array

Get all AI operator instances configured on the server. A script executed on behalf of a user requires the "Manage AI operators" system access right; scripts executed without user context (for example, from the event processing policy) are always allowed.

Return

Array of AIOperator objects (empty array if access is denied).

>>> for (op : GetAIOperators())
>>>    println(op.id .. " - " .. op.name .. " (iteration " .. op.iteration .. ")");
1 - Operator1 (iteration 42)
2 - Network edge watchdog (iteration 7)