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

How to get user id in JSP ?

Highlighted
TuTaMixx
Occasional Contributor

How to get user id in JSP ?

Hi everybody,

 

How to get user id in JSP files ? I create jsp file. and get logged in ppm user id. But I couldn't. Can you help me ? Thanks.

1 REPLY
ieroglif
Super Collector

Re: How to get user id in JSP ?

Hi, TuTa.

 

Try this

 

<%

int UserID = SessionData.getUserInfoPacket(session).getUserId();

%>

Best Regards,
Ieroglif.
//Add this to "OnDomLoad" event