Fórum
How to get all user list of a particular Role name or Role Id in liferay
Omkar Khandare, modificado 12 Anos atrás.
How to get all user list of a particular Role name or Role Id in liferay
Junior Member Postagens: 49 Data de Entrada: 07/03/12 Postagens Recentes
I want use all existing users list in liferay Database of a particular role in my project.
So i can maintain the record of all users of a particular role and Provide them certain functionality.
Please Help.
So i can maintain the record of all users of a particular role and Provide them certain functionality.
Please Help.
Juhi Kumari, modificado 12 Anos atrás.
RE: How to get all user list of a particular Role name or Role Id in lifera
Expert Postagens: 347 Data de Entrada: 12/12/11 Postagens Recentes
Hi Omkar
Use this one to get all users belonging to a role.
Regards
Juhi
Use this one to get all users belonging to a role.
List<user> users = UserLocalServiceUtil.getRoleUsers(roleId)</user>
Regards
Juhi