Apex: Could you help about authentication?

Hello

I have a table of connection with username (P101_username) and the table password (P101_Password) and emp emp_id, emp_name and designation. Whenever I enter the connection information, I must show the name of the employee, of designation and its identifier.

Currently, I use the custom as sql

SELECT ' ID :'|| EMP_ID | » '|| DESIGNATION, EMP_NAME

SAMPLE

WHERE EMP_ID = 20

UNION ALL

SELECT ' ID :'|| EMP_ID | » ' || DESIGNATION, EMP_NAME

SAMPLE

WHERE EMP_ID = 5

Suppose that, if emp_id '10' made his entrance with a successful authentication it must indicate its coordinates. Any help?

--

Thank you

: APP_USER returns the currently logged in user, peut it be combined with the information in your table?

Tags: Database

Similar Questions

Maybe you are looking for

  • I downloaded T-bird, set up, but I can't launch the installation. Why not?

    I got Thunderbird, but I couldn't open the incoming messages on one of my laptops. I uninstalled and downloaded a new version, but I couldn't install it. Why can I not?

  • How to connect a string to Boolean true or false constant

    Hello. I can't try to figure out how to connect a string constant to a result of a function of true/false. I create a VI that creates a random number, and then has the user to enter a number in numerical order. These 2 numbers are compared, and if th

  • error message; C:\Windows\System32/igfxres.dll

    Hi, I keep getting this error message c:\Windows/system32\igfxres.dll is not designed to run on windows or it contains an error. I am running windows vista Home premium. Can someone please help?

  • Updates to window do not work!

    My window updates does not check the updates.  It shows the window with the blue bar moving, but nothing happens.  He continues to advance.  I try to solve the problem with the "Microsoft Fix it", but an error message appears saying "troubleshooting.

  • OfficeJet 6700 fax reports do not date or time display

    After sending a fax using the Officejet 6700, confirmation of reports do not include the date or the time of sending.  I was unable to find this addressed in the FAQ or troubleshooting data.  Tel/fax line is not connected at all times.  Suggestions?