This content has been marked as final. Show 2 replies
You must first define the role in your portlet.xml before you can use this method. Please check the portlet spec
well i have add these lines in my portlet.xml
But i still have a false return when i invoke the isUserInRole method.