GetCurrentDomain(sessionID)
Accountants who have a portal have access rights to multiple domains. You can use this method to retrieve the ID of the domain that is activated for the current session.
Parameters
sessionID
The session ID that is obtained via the Authenticate(accessKey) method.