39.36 GET_ATTRIBUTE Function
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 by using the APIs.
Syntax
APEX_UTIL.GET_ATTRIBUTE(
    p_username                IN VARCHAR2,
    p_attribute_number        IN NUMBER)
RETURN VARCHAR2;
Parameters
Table 39-34 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;
See Also:
Parent topic: APEX_UTIL