logoff_sessions
Terminate user sessions and close running applications to free up VDI resources. Use with caution as unsaved data will be lost.
Instructions
Log off one or more user sessions, terminating their running applications.
CAUTION: This will close all running applications in the session. Unsaved data will be lost. Always confirm with the user before calling this.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| forced | No | If true, log off locked sessions. If false, locked sessions are skipped. | |
| confirm | No | Only used when the server runs with HORIZON_CONFIRMATION=flag (clients without elicitation). Otherwise the user is asked to confirm directly in the client. | |
| session_ids | Yes | List of session IDs to log off |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||