掲示板

want to assign member to their particular community

thumbnail
11年前 に Sachin Darade によって更新されました。

want to assign member to their particular community

New Member 投稿: 8 参加年月日: 12/08/15 最新の投稿
hi all,

my requirement is : I have two different user customer and vendor,for that i have taken two different community but at the time of creation of new customer and vendor account with the help of available sign portlet how i can assign them to their particular community at the time of creation.


Thanks,
sachin darade
thumbnail
11年前 に Paul . によって更新されました。

RE: want to assign member to their particular community

Liferay Master 投稿: 522 参加年月日: 11/08/29 最新の投稿
I don't think there is some configuration available for this. You can check out this property though
#
    # Input a list of default group names separated by \n characters that are
    # associated with newly created users.
    #
    admin.default.group.names=


However if you want to achieve more flexibility I would suggest you to create a model listener hook extending
BaseModelListener

and overriding the
onAfterCreate(...)


reference: http://www.liferay.com/community/wiki/-/wiki/Main/Portal+Hook+Plugins