AnsweredAssumed Answered

Web Service/CMIS to get members of a group

Question asked by paulf on Jan 29, 2015
Latest reply on Jan 30, 2015 by mrogers
Hi all,

I have spent countless hours trying desperately to figure out how to list our all of the users within a group in Alfresco. I am trying to integrate our Alfresco environment into a new website I am building. I need to use web services of some description to do this.

I am hoping someone may be able to help.

So far I have used CMIS (Java) to :

1. Connect to Alfresco
2. Query for the repository names
3. Connect to a repository
4. Get a specific document ID
5. Print our the Principal names for that document (which I am led to believe are the group names)

So I have, I believe, a list of groups in the form of strings. I guess I can also grab the group ID's too.

IT IS NOW I AM GETTING DESPERATE!!

I think I am correct in thinking that CMIS has taken me as far as it can? I don't think I can carry on digging into these groups using CMIS? Am I wrong - perhaps a CMIS query can do this?

So my question is, what is my best approach now? I am on the latest version of Alfresco.

I have read about Web Scripts which I believe are blocks of logic, written in Java, that I upload to Alfresco. That could be problematic. I know there are Alfresco Web Services but I cannot seem to find an easy to follow, ground-up guide to working with them.

Can anyone advise on how best to achieve this query of user groups?

Many thanks for reading.

Outcomes