Hi all
i want create apex user with apex api ,
my user is administrator workspace and grant apex_administrator_role to schema user
my code is :
APEX_UTIL.CREATE_USER(p_user_name => UPPER(:P58_USER_id),
p\_web\_password => :P58\_PASSWORD,
p\_default\_schema => 'NEPACO',
p\_first\_name => LV\_NAME,
p\_last\_name => LV\_FAMILY,
p\_email\_address => NVL(:P58\_EMAIL,['info@nepaco.com](mailto:'info@nepaco.com)'),
p\_change\_password\_on\_first\_use =>'N',
p\_first\_password\_use\_occurred =>'Y',
p\_developer\_privs => null);
END;
return error is :
User ADMIN requires ADMIN privilege to perform this operation.
Contact your application administrator.
Technical Info (only visible for developers)
is_internal_error: true
apex_error_code: APEX.USER.NOT_ADMIN
component.type: APEX_APPLICATION_PAGE_PROCESS
component.id: 78338521440256073
component.name: CREATE_APEX_USER

thanks for help