Try OpenEdge Now
skip to main content
Programming Interfaces
Data Management : ABL API for Multi-tenant and Table Partition Management : Maintaining multi-tenant and table partition entities : Tenants (creating, reading, updating and deleting) : Getting a tenant by an external ID
 
Getting a tenant by an external ID
The service also has a GetTenantByExternalId( CHARACTER ) method that allows you to retrieve a tenant by a user-defined external id.
Note: The ExternalId property is not defined as a unique key and GetTenantByExternalId( ) will throw an error if more than one tenant is found with the requested external ID. One can use GetTenants( ) with a filter to retrieve a collection of tenants with a specific external ID.
For more information on the:
*ITenant entity interface, see ITenant interface
*ITenantSet entity collection interface, see ITenantSetinterface