List of Logged in Users on HMI


I am looking to generate a live list of all the currently logged in users with their available security keys and place this data on a graphic for an Operator/Supervisor to review. Based on my past experience and research, I know I can capture this data for any user (with the correct permissions) who has Operate launched using VBA, the ThisUser parameter, and the associated user permission (key/area) check functions. 

What I am not sure of is how I can get a list of users logged into a DeltaV server but who do not have Operate launched. I know that a Power Shell script could acquire a list of logged in users for me, but I don't know how to easily get that data into DeltaV for viewing, much less determine what their permissions are.

The only alternative method I've come up with is:

  1. Export the fhx, parse it, and insert/update the user data into a database table.
  2. Use Power Shell (or similar) to acquire a list of all the logged in users and insert this into another database table on a timed basis.
  3. Utilize VBA in Operate to query this table when the graphic is opened to display the needed data.

Has anyone dealt with this kind of challenge before who can provide some advise on how to proceed? This is on a v14.lts system.

Thank you,