Project and Portfolio Management Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

userid/username in custom jsp

SOLVED
Go to solution
Highlighted
Avinash Jain
Acclaimed Contributor

userid/username in custom jsp

Hi,

I have custom jsp in PPM placed within itg.war web application and I need to know userid/username of the user currently logged in. Please help.

Thanks
Avinash
3 REPLIES
koya
Regular Collector
Solution

Re: userid/username in custom jsp

I found this line in itg.war/web/knta/crt/RequestDetail.jsp

currentUserId = (String) com.kintana.core.web.util.SessionData.getUserID(session).toString();

This way you can get the current userid.
Avinash Jain
Acclaimed Contributor

Re: userid/username in custom jsp

Thanks a tonne koya. It works as you say.
Avinash Jain
Acclaimed Contributor

Re: userid/username in custom jsp

It works as per reply from koya
//Add this to "OnDomLoad" event