cancel
Showing results for 
Search instead for 
Did you mean: 

howto add users to usergroup automatically from share

mauroluna
Champ in-the-making
Champ in-the-making
Is it possible to add new user into usergroup when you invite user from share? This way Alfresco Admin user does not need to adding by his hanad
2 REPLIES 2

scouil
Star Contributor
Star Contributor
I've personally done this using a custom behavior on the user creation.
It enables you to write a script that will be triggered each time a new user is created.
You can retrieve the user node and do whatever you want with it. You can even discriminate the group based on the last name or the email address.

To get started with custom behaviours, I'd advise you to read Jeff Pott's tutorial: http://ecmarchitect.com/archives/2007/09/26/770/comment-page-1

mauroluna
Champ in-the-making
Champ in-the-making
Scouil
Thanks for your answer back, I will check link you posted.