Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

how to create user in oracle apex 18.2

M-JoveiniDec 10 2018 — edited Dec 10 2018

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

pastedImage_15.png

thanks for help

This post has been answered by PMON on Dec 10 2018
Jump to Answer
Comments
Post Details
Added on Dec 10 2018
2 comments
812 views