cancel
Showing results for 
Search instead for 
Did you mean: 

How to assign User to a group using API

daxter123
Champ in-the-making
Champ in-the-making
Hi,

I have a group and i want to first find this group and then a user in this group. How can i do this through API?

Thanks
4 REPLIES 4

mrogers
Star Contributor
Star Contributor
In java you can do this through the Authority Service.  

And if you are on the very latest versions of Alfresco you can do this through the Java Script people and groups api.    There are also a smattering of Web Scripts for remote clients.

daxter123
Champ in-the-making
Champ in-the-making
Thanks mrogers,
I am currently using 3.0 code version. Can you please give me any sample code?

Thanks again

mrogers
Star Contributor
Star Contributor
For which language?

daxter123
Champ in-the-making
Champ in-the-making
Java.