Finding APP_USER from PL/SQL
I'm building an electronic document repository using APEX and have used the sample file upload/download OracleByExample as the model for the file uploading and downloading. What I would like to do is make an audit trail of all the files that have been viewed out of the repository and who has viewed them. My first idea was to add #APP_USER# to the column link and pass that as a second parameter to the view_a_file procedure. That didn't really work out (or at least I couldn't get it to work properly) so I decided to try and lookup the current APP_USER