Session Manager Session Is Active

Session Manager Session Is Active

Validates that a currently-active session exists with the specified sessionID and userName associated with it.

Returns true if session exists.

Required privileges: Sessions.ValidateSession

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

The unique identifier for the managed object to which the method 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.2.0 APIs.


Request Body
SessionIsActiveRequestType of type(s) application/json
Required
{
    "sessionID": "string",
    "userName": "string"
}
string
sessionID
Required

Session ID to validate.

string
userName
Required

User name to validate.

Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns integer of type(s) application/json
Operation doesn't return any data structure