cancel
Showing results for 
Search instead for 
Did you mean: 

Get a user's groups via Http restful API

yann1806
Champ in-the-making
Champ in-the-making
Hi guys,

I want to get a user's groups via something like

http://my-alfresco-server.com/alfresco/service/api/people/some_user

but the response I get from this call doesn't include some_user's groups.

Is there a way to do it ? I need to use the restful API.

Thanks

Yann
3 REPLIES 3

niketapatel
Star Contributor
Star Contributor
You are referring alfresco OOB webscript , try this…

http://my-alfresco-server.com/alfresco/service/api/people/some_user?groups=true

yann1806
Champ in-the-making
Champ in-the-making
Thanks Niketa, much appreciated. I couldn't find that in the documentation…

kaynezhang
World-Class Innovator
World-Class Innovator
Yes,this hasn't been decribed in detail in person.get.desc.xml,We can only know it by reading person.get.js source code.