Combination View Flat View Tree View
Threads [ Previous | Next ]
Ash J
Automatically assign role to all users in LDAP user group
December 3, 2012 2:20 AM

Ash J

Rank: Junior Member

Posts: 83

Join Date: March 22, 2011

Recent Posts


I'm importing three user groups with users from LDAP and it works fine.

I have created corresponding three roles in Liferay. I have assigned these roles to these user groups and that works fine as well.

Now, when I check a user 'Roles', I can see the user group under 'Inherited Roles'. Is there a way to add the actual role which I created in Liferay (corresponding to the user group in LDAP) to this user automatically during LDAP import ? ie, the Liferay role to appear under 'Regular Roles' of the user.

I'm running Liferay 6.0.5.