Scripting Guide for Studio for InDesign & InCopy and Smart Connection
Session properties
Properties on the Session object.
activeServer
activeTicket
activeUrl
activeUser