Logged in Users

Try using system.util.getSessionInfo(). It returns a PyDataSet holding information about all of the sessions (logged-in users) on the Gateway. Check it out in the python appendix in the user manual for more info.