From custom header jsp - how to get the userid from sessionBean?
Answered
Hi - I'm trying to write a customized header for the yellowfin integration. I'm trying to get the userId for a logged in user. I can get the person full name.
SessionBean sb = (SessionBean)session.getAttribute(Const.SESSION_BEAN); String personFullName = sb.getPrsnBean().getFormattedFullName();
I know the Userid field is in the sessionBean sb object. Is there some function name or attribute name I can use to retrieve it? Let me know. Thanks,
-LL
Hi LL,
Thank you for your question. The getIpPerson() method will give you what you need. An example is below:
Please let me know if you have any further questions.Cheers,
Neal
Hi LL,
Thank you for your question. The getIpPerson() method will give you what you need. An example is below:
Please let me know if you have any further questions.Cheers,
Neal
Replies have been locked on this page!