Home > APEX_UTIL > GET_ATTRIBUTE Function
Previous |
Next |
This function returns the value of one of the attribute values (1 through 10) of a named user in the Application Express accounts table. Please note these are only accessible via the APIs.
Syntax
APEX_UTIL.GET_ATTRIBUTE( p_username IN VARCHAR2, p_attribute_number IN NUMBER) RETURN VARCHAR2;
Parameters
Table: GET_ATTRIBUTE Parameters describes the parameters available in the GET_ATTRIBUTE
function.
GET_ATTRIBUTE Parameters
Parameter | Description |
---|---|
|
User name in the account. |
|
Number of attributes in the user record (1 through 10) |
Example
The following example shows how to use the GET_ATTTIBUTE
function to return the value for the 1st attribute for the user 'FRANK'.
DECLARE VAL VARCHAR2(4000); BEGIN VAL := APEX_UTIL.GET_ATTRIBUTE ( p_username => 'FRANK', p_attribute_number => 1); END;