Application Express User's Guide > Oracle Application Express ... > HTMLDB_UTIL > GET_ATTRIBUTE Function
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.
Syntax
HTMLDB_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
DECLARE VAL VARCHAR2(30);
BEGIN
  VAL := HTMLDB_UTIL.GET_ATTRIBUTE (
                          p_username => 'SCOTT',
                          p_attribute_number => 1);
END;