It should be noted: if you’re calling your script from somewhere that has component methods available, calling self.session.info.id
will give you an ID that matches the one in getSessionInfo()
.
And if the only think you need that ID for is the session info, self.session.info
may give you everything you need, without needing to call .getSessionInfo()
.