Session Manager Get Session List

Session Manager Get Session List

The list of currently active sessions.

Required privileges: Sessions.TerminateSession

Request
URI
GET
https://{vcenter-host}/sdk/vim25/{release}/SessionManager/{moId}/sessionList
COPY
Path Parameters
string
moId
Required

The unique identifier for the managed object to which the property attaches; the serialized managed object reference for a request has the form moType/moId, in this case SessionManager/{moId}.

string
release
Required

The vSphere release schema. The current specification covers vSphere 8.0.3.0 APIs.


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns Array of UserSession of type(s) application/json
[
    {
        "_typeName": "string",
        "key": "string",
        "userName": "string",
        "fullName": "string",
        "loginTime": "string",
        "lastActiveTime": "string",
        "locale": "string",
        "messageLocale": "string",
        "extensionSession": false,
        "ipAddress": "string",
        "userAgent": "string",
        "callCount": 0
    }
]