Oracle9iAS Portal Developer Kit

get_company_name function

Contained in package wwctx_api.

Call this function to get the name of the company associated with a user.

If Oracle Portal is deployed in a multi-company scenario then returns the company (subscriber) name that the user entered upon successful authentication. If Oracle Portal is deployed in a single company scenario then it will get the name from the user profile table.

function get_company_name

return varchar2;

Version: Oracle9iAS Portal 9.0.2 or later

Returns:

This function returns the company name associated with the Oracle Portal user.

Exceptions:

  • If no session was found, NO_SESSION_EXCEPTION is raised.

  • If an undefined error occurs, GENERAL_CONTEXT_EXCEPTION is raised.

Example:

Related topics

The PL/SQL API Reference is part of the Portal Developer Kit on Portal Studio