SetCurrentDomain(sessionID, domainID)
Accountants with a portal have access rights to multiple domains. With this method you can indicate for which domain the current session is active.
Parameters
sessionID
The session ID as given in the method Authenticate (accessKey).
domainID
The ID of the domain. This can be collected through the Domains(sessionID) method.