how to query login user's ID and use it in the adf faces page
582688Aug 22 2007 — edited Aug 31 2007Dear ALL,
ADF BC and ADF Face page, my goal is to get the login user's name and query its ID in a USERS table, and then use the value of ID in the page(set some field's default).
by now i am able to use #{facesContext.externalContext.userPrincipal.name} to set some bind variable, but i dont know how to use in the query and store the result that will be used later on. can someone help me with this please? thank you
regards
Jerry