Red Hat Bugzilla – Bug 1305042
[RFE] - Need an API to show users logged into a portal and also to show users logged into VMs
Last modified: 2017-09-12 13:52:15 EDT
Description of problem:
BZ number 1025796 is for a UI enhancement to the admin portal to show logged in users. This RFE asks to take that another step and provide an API for it. And also the ability to show users actually logged into VMs via a portal.
We'd like this capability to be available via a query API. Our use case requires us to query RHEVM via an API call to:
- get the count of users currently logged in.
- should provide both active users (logged in to a VM) and
- Inactive users (logged in but locked the Windows session).
We have an Operations portal where use this information to perform some logic.
Currently the User API provide the user's Active/Inactive status as a derivative of their registration status as opposed to their current-logged-in status.
As far as I know, users logged into VMs are already exposed through the api. Michal?
Yes, we have "logged into VM", we can perhaps use the engine console session locking to get the non-logged...not sure right now, might be exposed already as well
I had seen the Logged in attribute - but it's for the user API which would need to be called for each user to check their status. If we had to iterate over a few thousand active users to check their Logged on status, it will be a problem.
Can RH provide/enhance the summary api, like the API entry point, where the attribute below indicates their registration status. We should expand this to include logged-in count.
//enhance api as :
I'm not sure we should cover "logged into portal" - once connections are done via REST API (custom portal), or broker (CFME, etc.) - we can't track them.
*** Bug 1339933 has been marked as a duplicate of this bug. ***