Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Bodhayan Chakraborty
Assign members to a role using portal-ext.properties
September 7, 2012 11:21 AM
Answer

Bodhayan Chakraborty

Rank: New Member

Posts: 2

Join Date: June 7, 2012

Recent Posts

Hi,

Is there any way to assign users or groups to a particular role using portal-ext.properties file? The users and groups will be LDAP users and groups. I don't want to do it using Portal admin console.

Thanks,
Bodhayan.
Christianto Sahat
RE: Assign members to a role using portal-ext.properties
September 7, 2012 9:34 PM
Answer

Christianto Sahat

Rank: Regular Member

Posts: 175

Join Date: September 24, 2007

Recent Posts

I believe there's no way to do that.
Hitoshi Ozawa
RE: Assign members to a role using portal-ext.properties
September 8, 2012 7:51 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7990

Join Date: March 23, 2010

Recent Posts

I can only think of the following:

#
# Set this to true if the portal should automatically create a role per
# group imported from LDAP. The role will be assigned to the group so that
# users can automatically inherit that role when they are assigned to the
# group.
#
ldap.import.create.role.per.group=true