List Session Info V2
This API supports Pagination and Filters.
For full information on using Filters, refer to 'Horizon Server REST Pagination and Filter Guide' of 'VMware Horizon Server API' in code.vmware.com At least one of the listed privileges is required -
Privileges | Description |
---|---|
MACHINE_VIEW | Returns results only for those sessions, for which the caller has permission to this privilege, on the associated access group of session's pool or farm. |
FEDERATED_SESSIONS_VIEW | Returns results only for those sessions, for which the caller has permission to this privilege, on the associated federated access group of session's global desktop entitlement or global application entitlement. |
page, if passed should be > 0.
1
size, if passed should be > 0.
10
filter expression built using fields with 'supported filters' as described in output model schema of this API.
[object Object]
Field that would be used to sort the results.
<property-name>
Determines the ordering of results.
ASC
OK
[
{
"access_group_id": "6fd4638a-381f-4518-aed6-042aa3d9f14c",
"agent_version": "7.12.0",
"application_names": [
"Calculator"
],
"broker_user_id": "S-1-5-21-1111111111-2222222222-3333333333-500",
"brokered_remotely": false,
"client_data": {
"address": "127.0.0.1",
"location_id": "6bda20e66cda315084edc8b5c67f9cf1e3b0f4559ba990b1004a",
"name": "EXAMPLE-CLIENT1",
"type": "WINDOWS",
"version": "5.4.0"
},
"desktop_pool_id": "0103796c-102b-4ed3-953f-3dfe3d23e0fe",
"disconnected_time": 1582181947320,
"farm_id": "0dbd14ba-5795-4141-9cec-128ff6d494b0",
"guid": "string",
"id": "7cdd624f-37d1-46c1-ab96-695a5d13956f",
"idle_duration": 60,
"last_session_duration_ms": 116320,
"machine_id": "a00eda55-708a-4f7d-8cbc-1d1b3a2b5f73",
"rds_server_id": "6f85b3a5-e7d0-4ad6-a1e3-37168dd1ed50",
"resourced_remotely": false,
"security_gateway_data": {
"address": "127.0.0.1",
"domain_name": "SECURE-GW.example.com",
"location": "EXTERNAL"
},
"session_protocol": "PCOIP",
"session_state": "CONNECTED",
"session_type": "APPLICATION",
"start_time": 1582181831000,
"unauthenticated": false,
"user_id": "S-1-5-21-1111111111-2222222222-3333333333-500"
}
]
User is not authenticated
Access to the resource is forbidden