Accessing Vision Client Connection info from Gateway

Hey folks,

I need to do some gateway tag event scripting, and in doing so need to reference the active user at a given terminal. I know I can get the active user via message, or create a table to store all active client sessions, but I am curious if the information in this gateway webpage is exposed anywhere. The gateway clearly already has all the information I need, but I come up short in trying to find it. Is my best bet to just recreate this using other scripting?

Thanks in advance!

https://docs.inductiveautomation.com/display/DOC81/Connections+-+Vision+Clients#ConnectionsVisionClients-VisionClientsPage

hi
system functions already have what you need
sample below

https://docs.inductiveautomation.com/display/DOC81/system.util.getClientId

While that function is new to me, I don't think it solves the issue of wanting to be able to access all of the client information at the gateway scope.

Edit: Ahh, this one appears to do it.

https://docs.inductiveautomation.com/display/DOC81/system.util.getSessionInfo