Oracle9iAS Portal Developer Kit

get_attribute_as_varchar2 member function

Contained in package wwsto_api_session.

Call this function to return the value of a varchar2 attribute.

member function get_attribute_as_varchar2

(

p_name in varchar2

)

return varchar2;

Version: Oracle Portal 3.0.6.6.5 or later

Parameters:

p_name

The name of the attribute.

Datatype: in varchar2

Returns:

This function returns the varchar2 value of an attribute, or null if the specified attribute does not exist.

Exceptions:

If the attribute's type indicates that the implementation type is not a varchar2, a VALUE_ERROR exception is raised.

Example:

l_name_attr := l_user_obj.get_attribute_as_varchar2

(

p_name => 'Portal'

);

Related topics

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