SetCurrentDomain(sessionID, domainID)
Accountants with a portal have access rights to multiple domains. You can use this method to indicate the domain in which the current session is active.
Parameters
sessionID
The session ID that is obtained via the Authenticate(accessKey) method.
domainID
The ID of the domain. This can be retrieved with the Domains(sessionID) method.