43.134 SET_USERNAME Procedure
This procedure updates a user account with a new USER_NAME value. To execute this procedure, the current user must have administrative privileges in the workspace.
                  
Syntax
Parameters
Table 43-114 SET_USERNAME Parameters
| Parameter | Description | 
|---|---|
| 
 | The numeric ID of the user account. | 
| 
 | 
 | 
Example
The following example shows how to use the SET_USERNAME procedure to set the value of USERNAME to 'USER-XRAY' for the user 'FRANK'.
                  
BEGIN	
    APEX_UTIL.SET_USERNAME(
        p_userid     => APEX_UTIL.GET_USER_ID('FRANK'),
        P_username   => 'USER-XRAY');
END;
See Also:
Parent topic: APEX_UTIL