Get the Total number of active sessions

How Can I read the total number of active session in perspective? like the perspective session info page in gateway.
The [System]Gateway/Sessions/SessionCount always show 1.

Yes, I’d like to know this too!
Last I heard it was comming soon:

1 Like

This is currently going through the QA process, and will most likely be available as one of the upcoming 8.0.7 nightly builds.

The usage will boil down to system.perspective.getSessionInfo([usernameFilter], [projectName]) where usernameFilter and projectName are optional arguments to filter down the returned session objects.