TENANT-NAME( ) method

Returns the tenant name that is recorded in the client-principal object for an OpenEdge multi-tenant database. A tenant name is returned if this client-principal instance has been used to set the connection identity for the specified multi-tenant database. The association of this tenant name and multi-tenant database persists for this instance of the client-principal and cannot be removed for the duration of the user login session identified by this client-principal.

Return type: CHARACTER

Applies to: Client-principal object handle

Syntax

TENANT-NAME ( [db-exp] )
db-exp
An optional character expression that evaluates to a case-insensitive logical or alias name of a multi-tenant OpenEdge RDBMS. This expression can be unspecified or evaluate to the Unknown value (?) only if the client-principal object has been used to establish identity for a single OpenEdge database connection.

The method can return the following values:

ABL raises ERROR if:

See also

DB-LIST attribute, TENANT-ID( ) method