Get Orchestrator Connection & Tenant from Activity

Within an activity in Studio, I would like to obtain the active Orchestrator connection details, specifically the host and tenant. We have some automations which run in several different tenants and I need a way to identify the host and tenant that the robot is connected to in order to route it correctly. Thanks.

I have figured out a solution by using the Orchestrator HTTP Request activity and /odata/Users/UiPath.Server.Configuration.OData.GetCurrentUser()