Dear All, I am using WebSphere Portal 5.0 on Windows box.
I used the following code to get user id in PortletView.jsp.

In WebSphere Portal 5.1, is deprecated.
So I use the next code to have same feature.

org.apache.jetspeed.portlet.User user = portletRequest.getUser();
stuser = user.getUserID().substring(...);

But I found Redbook said "The PortletRequest and PortletResponse
are not guaranteed to be thread safe. should only be used in the scope
of the processAcrtion and render methods."

Is above code right or have it some pattern to do it?