Common - SetCurrentDomain(sessionID, domainID)

Modified on Wed, 7 Jun, 2023 at 4:27 PM

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.


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article