useractivity

API Name

useractivity

Description

Provides information about the users that are loggen into the HTML, AIS and Enterprise Servers (Release 9.2.26.0) along with the open applications information. This API fetches details of all the users if an input value is not provided.

REST Methods

GET

Precondition

Server Manager and Agent must be running.

Input Params

Note (Release 9.2.4.3): Add these additional parameters if there are duplicate instance names: agentHostName, jdeHome.

Sample Request

{{protocol}}://{{ip}}:{{port}}/manage/mgmtrestservice/useractivity? username=JDE&environmentName=JPY920

Return

Sample Response

{ "userActivityDetail": [ { "userName": "JDE", "targetType": "EnterpriseOne AIS Server Sessions", "instanceName": "ais8003", "jvmNodeId": "-", "jasSessionId": "4129547715806897956", "clientDevice": "Chrome (19X.XX.XX.XX)", "environmentName": "JPY920", "userRole": "*ALL", "loginTime": "6/16/17 9:14 AM", "lastActiveTime": "6/16/17 9:14 AM", "jasServer": "https:// jdewebraj01:8001" }, { "userName": "JDE", "targetType": "EnterpriseOne HTML Server Sessions", "instanceName": "html8001", "jvmNodeId": "html8001_MS1", "htmlServerSessionId": "3950964184071149568", "clientMachine": "jdewebraj01.compute- a473400.oraclecloud.internal (10.XX.XX.XX)", "environmentName": "JPY920", "userRole": "SYSADMIN", "loginTime": "6/16/17 9:14 AM", "idleTime": "63", "remoteEnvironments": "RAJESPYBL0905:6017 PID: 18181" },

Sample Response

{ "userName": "JDE", "targetType": "EnterpriseOne HTML Server Sessions", "instanceName": "html8001", "jvmNodeId": "html8001_MS1", "htmlServerSessionId": "4980954325618865152", "clientMachine": "jdeclient.example.com (19X.XX.XX.XX)", "environmentName": "JPY920", "userRole": "SYSADMIN", "loginTime": "6/16/17 9:14 AM", "idleTime": "57", "remoteEnvironments": "RL0905:6017 PID: 20612" }, { "userName": "JDE", "targetType": "Enterprise Server Resources", "instanceName": "rl0905", "processName": "SECURITY KERNEL", "processID": "11709", "jdelogFileSize": "1,728", "debugLogSize": "92", "activeUsers": "1" }, { "userName": "JDE", "targetType": "Enterprise Server Resources", "instanceName": "rl0905", "processName": "CALL OBJECT KERNEL", "processID": "20612", "jdelogFileSize": "1,110", "debugLogSize": "92", "activeUsers": "1" } ]}

Sample Response (Release 9.2.26.0)

{ "userActivityDetail": [ { "userName": "JDE", "targetType": "EnterpriseOne AIS Server Sessions", "instanceName": "ais8003", "jvmNodeId": "-", "jasSessionId": "4129547715806897956", "clientDevice": "Chrome (19X.XX.XX.XX)", "environmentName": "JPY920", "userRole": "*ALL", "loginTime": "6/16/17 9:14 AM", "lastActiveTime": "6/16/17 9:14 AM", "jasServer": "https:// jdewebraj01:8001" }, { "userName": "JDE", "targetType": "EnterpriseOne HTML Server Sessions", "instanceName": "html8001", "jvmNodeId": "html8001_MS1", "htmlServerSessionId": "3950964184071149568", "clientMachine": "jdewebraj01.compute- a473400.oraclecloud.internal (10.XX.XX.XX)", "environmentName": "JPY920", "userRole": "SYSADMIN", "loginTime": "6/16/17 9:14 AM", "idleTime": "63", "remoteEnvironments": "RAJESPYBL0905:6017 PID: 18181" }, { "userName": "JDE", "targetType": "EnterpriseOne HTML Server Sessions", "instanceName": "html8001", "jvmNodeId": "html8001_MS1", "htmlServerSessionId": "4980954325618865152", "clientMachine": "jdeclient.example.com (19X.XX.XX.XX)", "environmentName": "JPY920", "userRole": "SYSADMIN", "loginTime": "6/16/17 9:14 AM", "idleTime": "57", "remoteEnvironments": "RL0905:6017 PID: 20612" }, { "userName": "JDE", "targetType": "Enterprise Server Resources", "instanceName": "rl0905", "processName": "SECURITY KERNEL", "processID": "11709", "jdelogFileSize": "1,728", "debugLogSize": "92", "activeUsers": "1" }, { "userName": "JDE", "targetType": "Enterprise Server Resources", "instanceName": "rl0905", "processName": "CALL OBJECT KERNEL", "processID": "20612", "jdelogFileSize": "1,110", "debugLogSize": "92", "activeUsers": "1" } ]} { "userActivityDetail": [ { "userName": "JDE", "targetType": "EnterpriseOne AIS Server Sessions", "instanceName": "tqa_929_aix_ais_26051", "Managed Home Location": "http://jdesmc.example.com/,C:\\jde_agent_web\\SCFHA", "jasSessionId": "5831865961135768322", "clientDevice": "JasServer-slc18upq (0:0:0:0:0:0:0:1)", "loginTime": "8/31/25 3:05 AM", "environmentName": "JDV92RS1" }, { "userName": "JDE", "targetType": "EnterpriseOne AIS Server Sessions", "instanceName": "tqa_929_aix_ais_26051", "Managed Home Location": "http://jdesmc.example.com/,C:\\jde_agent_web\\SCFHA", "jasSessionId": "2790425021012381859", "clientDevice": "JDE__Studio (0:0:0:0:0:0:0:1)", "loginTime": "8/5/25 2:15 AM", "environmentName": "JDV92RS1" }, { "userName": "JDE", "targetType": "EnterpriseOne HTML Server Sessions", "instanceName": "tqa_929_aix_jas_25051", "Managed Home Location": "http://jdesmc.example.com/,C:\\jde_agent_web\\SCFHA", "htmlServerSessionId": "439611732335569920", "clientMachine": "http://jdesmc.example.com/ (0:0:0:0:0:0:0:1)", "loginTime": "8/31/25 3:05 AM", "remoteEnvironments": "SLC18GJW:4098 PID: 23396786", "environmentName": "JDV92RS1", "openApplications": [ { "asyncBSFNQueueEmpty": "true", "interactivityLevel": "2", "topApplicationDescription": "One View", "workstationName": "http://jdesmc.example.com/", "workstationIPAddress": "0:0:0:0:0:0:0:1", "executionMode": "MAF Component", "language": " ", "appRecoverySetting": "All", "serverNameAndPort": "jdesmc.example.com_25051 ", "applicationStackSize": "1", "threadName": "No Thread Assigned", "status": "1" }, { "asyncBSFNQueueEmpty": "true", "interactivityLevel": "2", "topApplicationDescription": "Work With Addresses", "workstationName": "http://jdesmc.example.com/", "workstationIPAddress": "0:0:0:0:0:0:0:1", "executionMode": "MAF Component", "language": " ", "appRecoverySetting": "All", "serverNameAndPort": "jdesmc.example.com_25051 ", "applicationStackSize": "1", "threadName": "No Thread Assigned", "status": "1" } ] }, { "userName": "JDE", "targetType": "EnterpriseOne HTML Server Sessions", "instanceName": "tqa_929_aix_jas_25051", "Managed Home Location": "http://jdesmc.example.com/,C:\\jde_agent_web\\SCFHA", "htmlServerSessionId": "5698752937891403776", "clientMachine": "http://jdesmc.example.com/ (0:0:0:0:0:0:0:1)", "loginTime": "8/31/25 3:05 AM", "remoteEnvironments": "None", "environmentName": "JDV92RS1", "openApplications": [ { "asyncBSFNQueueEmpty": "true", "interactivityLevel": "2", "topApplicationDescription": "One View", "workstationName": "http://jdesmc.example.com/", "workstationIPAddress": "0:0:0:0:0:0:0:1", "executionMode": "MAF Component", "language": " ", "appRecoverySetting": "All", "serverNameAndPort": "jdesmc.example.com_25051 ", "applicationStackSize": "1", "threadName": "No Thread Assigned", "status": "1" }, { "asyncBSFNQueueEmpty": "true", "interactivityLevel": "2", "topApplicationDescription": "Work With Addresses", "workstationName": "http://jdesmc.example.com/", "workstationIPAddress": "0:0:0:0:0:0:0:1", "executionMode": "MAF Component", "language": " ", "appRecoverySetting": "All", "serverNameAndPort": "jdesmc.example.com_25051 ", "applicationStackSize": "1", "threadName": "No Thread Assigned", "status": "1" } ] }, { "userName": "JDE", "targetType": "Enterprise Server Resources", "instanceName": "tqa_929_as4_ent_denqas2_6017", "Managed Home Location": "jdesmc.example.com,/jde_agent_ent_auto_tls/jde_agent_ent_tls_Agent/SCFHA", "processName": "SECURITY KERNEL", "processID": "639", "jdelogFileSize": "0", "debugLogSize": "0" }, { "userName": "JDE", "targetType": "Enterprise Server Resources", "instanceName": "tqa_929_as4_ent_denqas2_6017", "Managed Home Location": "jdesmc.example.com,/jde_agent_ent_auto_tls/jde_agent_ent_tls_Agent/SCFHA", "processName": "SECURITY KERNEL", "processID": "640", "jdelogFileSize": "0", "debugLogSize": "0" }, { "userName": "JDE", "targetType": "Enterprise Server Resources", "instanceName": "tqa_929_as4_ent_denqas6_6017", "Managed Home Location": "jdesmc.example.com,/jde_agent_ent_tls/jde_agent_ent_tls_Agent/SCFHA", "processName": "SECURITY KERNEL", "processID": "3542", "jdelogFileSize": "112,243", "debugLogSize": "946,824,828" }, { "userName": "JDE", "targetType": "Enterprise Server Resources", "instanceName": "tqa_929_as4_ent_denqas6_6017", "Managed Home Location": "jdesmc.example.com,/jde_agent_ent_tls/jde_agent_ent_tls_Agent/SCFHA", "processName": "SECURITY KERNEL", "processID": "3541", "jdelogFileSize": "113,491", "debugLogSize": "952,756,894" }, { "userName": "JDE", "targetType": "Enterprise Server Resources", "instanceName": "tqa_929_as4_ent_denqas6_6017", "Managed Home Location": "jdesmc.example.com,/jde_agent_ent_tls/jde_agent_ent_tls_Agent/SCFHA", "processName": "SECURITY KERNEL", "processID": "3543", "jdelogFileSize": "112,549", "debugLogSize": "951,221,684" }, { "userName": "JDE", "targetType": "Enterprise Server Resources", "instanceName": "tqa_929_as4_ent_denqas6_6017", "Managed Home Location": "jdesmc.example.com,/jde_agent_ent_tls/jde_agent_ent_tls_Agent/SCFHA", "processName": "SECURITY KERNEL", "processID": "3540", "jdelogFileSize": "111,913", "debugLogSize": "949,267,224" } ] }

Exception

Throws an exception if the operation fails for any reason.