cancel
Showing results for 
Search instead for 
Did you mean: 

Put a user in a private site

kameljahloug
Champ in-the-making
Champ in-the-making
Hi
i am working in a J2EE project , and after creating alfresco user from my application , and a private site ; i want to know if it is possible to make my user as a member of my private site.
Thank you 
2 REPLIES 2

gravitonian
Star Collaborator
Star Collaborator
I wrote an article a while back on how to create Share sites programmatically. It contains code in Web Scripts for how to add users to a site. Maybe you can grab some of that code for your use-case? Here is a link to the article: https://docs.google.com/document/d/1TE0j2uo18onh6tOuKoQVEJqrqIk5-d5y_erx3Ij6ZsI/pub

Thank you for the answer
I will read it and try to work with it , I will send you a feedback if it is working.
have a nice day