• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unable to retrieve User Info

 
Avishek Banerjee
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am using Sun Java Portal Server. I tried to retrieve the lastname and firstname of the user following the guidelines given in the JSR 168 specs. But I got a null in each case. To get these value I set the user.name.family and user.name.given in the portlet.xml and used the same to retrieve the value in the portlet code, but nothing came out.

I have a doubt in this regard now. Are the property names standards or just indicative guidelines and it is upto the respective Portlet Containers to provide their own names? If this is the case, then what is the name of these properties for Sun Java Portal Server.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic