留言板

controling users displayed in "users" portlet of control panel

Milind H,修改在12 年前。

controling users displayed in "users" portlet of control panel

New Member 帖子: 4 加入日期: 12-2-28 最近的帖子
Hi,
I want to display users on right side of "users" portlet of control panel whos organization is same as the logged in user. Please let me know how can I do it

Thanks
thumbnail
Ravi Kumar Gupta,修改在12 年前。

RE: controling users displayed in "users" portlet of control panel

Liferay Legend 帖子: 1302 加入日期: 09-6-24 最近的帖子
Probably this way...
Create a jsp hook for ROOT\html\portlet\users_admin in LR 6.1. Check for the logged in user's organization. Get the user list related to that particular organization.

		UserLocalServiceUtil.getOrganizationUsers(organizationId);
Milind H,修改在12 年前。

RE: controling users displayed in "users" portlet of control panel

New Member 帖子: 4 加入日期: 12-2-28 最近的帖子
Thanks for the reply Ravi. I am using 6.0.6 CE version of Liferay. I could not find "users_admin" file in ROOT\html\portlet\users_admin
thumbnail
Ravi Kumar Gupta,修改在12 年前。

RE: controling users displayed in "users" portlet of control panel

Liferay Legend 帖子: 1302 加入日期: 09-6-24 最近的帖子
For 6.0.6 You should check enterprise_admin folder instead of users_admin. There is view_users.jsp file. Check that out.
Milind H,修改在12 年前。

RE: controling users displayed in "users" portlet of control panel

New Member 帖子: 4 加入日期: 12-2-28 最近的帖子
OK. I already looked in to the view_users. Can you tell me which section of view_users to modify to add the code?