Forums

Home » Liferay Portal » English » 2. Using Liferay » General

Combination View Flat View Tree View
Threads [ Previous | Next ]
Lilford Immanuel Arthur
Roles screens are mapped to...
April 25, 2011 2:51 AM
Answer

Lilford Immanuel Arthur

Rank: Junior Member

Posts: 39

Join Date: October 6, 2009

Recent Posts

I am able to get roles a logged in user is mapped to using

user.getRoles()

I need to find roles that a particular screen is mapped to..

Lets say I am browsing a page "abc classification" which is mapped to roles a, b and c
User, logged in has role a.

I need to fetch all a, b and c which is assigned to the screen..

Is there a method to do that???