Oracle9iAS Portal Developer Kit

logged_on function

Contained in package wwctx_api.

Call this function to learn if the user is logged in.

Note: This function is similar to the is_logged_on function, but returns a number instead of a boolean value so that the value returned can be used as a condition for creating a view.

function logged_on

return number;

Version: Oracle Portal 3.0.6.6.5 or later

Returns:

This function returns 1 if user is logged in, 0 otherwise.

Exceptions:

This function raises no user-defined exceptions.

Example:

select ...

where wwctx_api.logged_on = 1;

Related topics

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