The listSessOpts action displays the session options and their corresponding session values.
The listSessions action displays a list of all active sessions on the CAS server.
The action returns a result table containing details for each session, including the session name, its UUID, the user who initiated it, and its current state.
Yes, standard users can only view their own sessions. To see all sessions on the server, you must have administrative privileges.
You can execute the action using the syntax: `session.listSessions;`.
The `listresults` action is used to list the saved results for a specific CAS session. When actions are executed, their results can be stored on the server. This action allows you to see a list of these saved results, which can then be managed or retrieved using other actions.
You can use the `listresults` action to display a list of all results that have been saved from the actions executed within your current session.
A common use case is to manage the results of actions that are run in batches. After running multiple actions, you can use `listresults` to see all the generated result tables and then use the `fetchresult` action to retrieve a specific result for further analysis, as shown in the 'Fetch Batched ...
The loadActionSet action loads an action set for use in the current session.
When 'promote' is set to TRUE, the loaded table is given a global scope, making it accessible to other CAS sessions, provided the target caslib is also global.