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!

APEX_UTIL.GET_CURRENT_USER_ID with custom authentication

Erik_NLApr 13 2012 — edited Apr 17 2012
For a application I'm building I used a custom authentication function to authenticate against a active directory. This function is only returning true or false.
Later on in the application I need to use the username in a query. I used to do this with APEX_UTIL.GET_USERNAME(APEX_UTIL.GET_CURRENT_USER_ID) when I used the default apex authentication, but now GET_CURRENT_USER_ID isn't returning a id anymore.
Is there any other way to get the username of the currently logged in user?

I'm using apex 4.2 on a Oracle 11g database.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 15 2012
Added on Apr 13 2012
1 comment
2,359 views