Reputation: 1647
For example I have userA which is belong to groupA. How I could search all groups by specified authority? This code find just all groups what I have QNAME:"sys:system/sys:authorities/*"
So I want to filter out somehow.
Upvotes: 0
Views: 208
Reputation: 1978
There are services for that, if using java use the AuthorityService: http://dev.alfresco.com/resource/docs/java/repository/org/alfresco/service/cmr/security/AuthorityService.html
In javascript the People API could be sufficient: http://wiki.alfresco.com/wiki/4.0_JavaScript_API#People_API
Upvotes: 2