cancel
Showing results for 
Search instead for 
Did you mean: 

When creating user, assign them to groups

seedot11
Champ in-the-making
Champ in-the-making
Hi, this is my first post and I am a complete newbie to Alfresco. My apologies if anything I say sounds stupid or if what I'm asking sounds obvious.

Basically what I want is when you create a user, I want Alfresco to automatically assign that user to a specific user group. I tried looking for this option in "rules", and I've exhausted all the configuration options in the user groups page. The solution will be for Alfresco Community 3.3.

Any help you can give me is much appreciated. If you feel this is a stupid question, can you please direct me to a learning page for this kind of thing? I'm struggling to use the Alfresco Wiki, as a lot of it goes over my head, and I can't find good resources elsewhere on the internet (I'm used to using SharePoint which has resources everywhere).
1 REPLY 1

abarisone
Star Contributor
Star Contributor
Hi,
first of all don't worry about your posts…
Then, you may use a webscript to create your user and assign it to a specific group.
Look at Alfresco Javascript API http://wiki.alfresco.com/wiki/4.0_JavaScript_API#People_API especially for info about methods createPerson and addAuthority
Here you can find a simple implementation of what you need https://forums.alfresco.com/en/viewtopic.php?f=36&t=10072

Regards,
Andrea