58.124 SET_LAST_NAME Procedure
This procedure updates a user account with a new LAST_NAME value. To execute this procedure, the current user must have administrative privileges in the workspace.
Syntax
APEX_UTIL.SET_LAST_NAME (
p_userid IN NUMBER,
p_last_name IN VARCHAR2 );Parameters
| Parameter | Description |
|---|---|
p_userid |
The numeric ID of the user account. |
p_last_name |
LAST_NAME value to be saved in the user account.
|
Example
The following example shows how to use the SET_LAST_NAME procedure to set the value of LAST_NAME to 'SMITH' for the user 'FRANK'.
BEGIN
APEX_UTIL.SET_LAST_NAME(
p_userid => APEX_UTIL.GET_USER_ID('FRANK'),
p_last_name => 'SMITH');
END;See Also:
Parent topic: APEX_UTIL