APEX_UTIL.GET_CURRENT_USER_ID with custom authentication
Erik_NLApr 13 2012 — edited Apr 17 2012For 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.