Connecting to specific Tenant |
Scroll |
There is a scenario when Web API server is running in multitenant environment. To connect to specific tenant you should specify tenant name in the request to the Web API server.
Web API uses HTTP protocol, so you have to specify the tenant in HTTP header field as showed on the screen-shot below.
HTTP header field name is TenantName
You can find code samples in Connection and Authentication section (or go this link for shared contract dll sample).
Managing Tenant Access
By default, the tenants within a multi-tenant environment can be accessed from any IP address, provided proper login credentials are given. However, in some cases it may be desirable to limit tenant access to only certain IP addresses.
For more details please see Managing Tenant Access in the Multi-Tenancy Manual |