What is the best strategy to document the current user of a perspective session in a tag? I will use the tag in a transaction group.
I've experimented with a runScript() expression inside the UDT with this
[ x['username'] for x in system.perspective.getSessionInfo(projectFilter = project) if(address == x['clientAddress'] ) ]
It seems to run around 30ms, which I believe Phil would object to using with runScript()
Next, would be the same as above, but put in a timer script looping through all sessions of the particular project and system.tag.writeBlocking()
.
A change script on the userName auth
prop doesn't seem to work, neither does startup and shutdown events.