云桌面 WORKSPACE-根据用户名查询当前会话:响应示例

时间:2024-12-27 15:06:42

响应示例

状态码: 200

成功响应。

{
  "session_info_list" : [ {
    "id" : "a7db732e1ad511edaf56fa163ed8e03f",
    "session_stamp" : "S-1-5-21-1908276142-124560728-768171367-1358-zeng**long@wksapp.****huawei.com-HDP-_1",
    "protocol_type" : "Hdp",
    "login_user" : "zeng**long@wksapp.****huawei.com",
    "session_type" : "1",
    "pre_conn_time" : "2022-08-13 07:00:20",
    "start_time" : "2022-08-13 07:00:20",
    "end_time" : "0001-01-01 00:00:00",
    "machine_sid" : "S-1-5-21-1908276142-**4560728-768171367-1358",
    "session_state" : "AppcInit",
    "client_mac" : "3c-7c-3f-**-e4-04",
    "client_name" : "proven",
    "client_ip" : "10.**.**.239",
    "client_version" : "22.4.2.12888",
    "client_type" : "Windows 10 Enterprise",
    "agent_version" : "21.12.0.11461",
    "vm_ip" : "172.**.**.26",
    "failed_reason" : "success",
    "failed_code" : "WKS.00000000",
    "tenant_id" : "26a0420e9e284569a23f1b2f7d9b5011"
  }, {
    "id" : "9d123d5e0f36419c9b345efcd031a92e",
    "session_stamp" : "S-1-5-21-1908276142-124560728-768171367-3006-zeng**long@wksapp.****huawei.com-HDP-2",
    "os_session_id" : "2",
    "protocol_type" : "Hdp",
    "login_user" : "zeng**long@wksapp.****huawei.com",
    "session_type" : "2",
    "app_group_id" : "587004825166675968",
    "app_server_group_id" : "fb8a92be-ebc1-4dac-9a4c-1590518d140a",
    "pre_conn_time" : "2023-07-07 03:04:06",
    "start_time" : "2023-07-07 03:04:06",
    "end_time" : "0001-01-01 00:00:00",
    "machine_sid" : "S-1-5-21-1908276142-***560728-768171367-3006",
    "machine_name" : "APS-6NGU98Y4W4",
    "session_state" : "AppcInit",
    "app_name" : "HDTransmission,winlogon,HDTerminalExplorer,slui,HDTerminalAssist,fontdrvhost,TSTheme,ChsIME,ctfmon,csrss,HDTerminalSystem,dwm,ChsIME,sihost,HDTerminalDisplay,TabTip32,svchost,svchost,HDTerminalUser,taskhostw,TabTip",
    "client_mac" : "3c-7c-3f-**-e4-04",
    "client_name" : "proven",
    "client_ip" : "10.*.97.212",
    "client_version" : "23.2.2.0",
    "client_type" : "Windows 10 Enterprise",
    "agent_version" : "23.2.0.0314",
    "vm_ip" : "172.*.*.41",
    "failed_reason" : "success",
    "failed_code" : "WKS.00000000",
    "tenant_id" : "26a0420e9e284569a23f1b2f7d9b5011"
  } ]
}
support.huaweicloud.com/api-workspace/ListSessionByUserName.html