active_sessions
Lists currently authenticated vCenter/ESXi sessions with user details, login time, IP, and client, helping identify who is logged in and attribute changes to a specific person.
Instructions
[READ] Currently authenticated vCenter/ESXi sessions (who is logged in).
Returns the list envelope with a real total; each row has user_name,
full_name, login_time, last_active, ip_address, user_agent (which client —
e.g. Aria's adapter shows VMware vim-java), call_count, kind (user/service)
and a current flag for this skill's own session. vCenter's own solution
users (vpxd-extension-<machine id> and similar) are folded by default and
counted in service_sessions. Requires the Sessions privilege; low-privilege
accounts get a single explanatory row instead of a traceback.
Use this to attribute a change to a person — pair it with active_tasks, which names the user who started each task. Read-only — terminating a session is not supported here.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max session rows to return (None = all). | |
| target | No | vCenter/ESXi target from config (default if omitted). | |
| include_service | No | List vCenter's own solution-user sessions too. On a lab vCenter they were 24 of 33 sessions. |