AnsweredAssumed Answered

Search All Groups

Question asked by emmy on Dec 17, 2007
Latest reply on Jan 13, 2008 by kevinr
Hi,
I want search all groups in a web script.
This lucene search

TYPE:"{http://www.alfresco.org/model/user/1.0}authorityContainer"
return all results.

I have used AVM API

<#assign store = avm.lookupStore("alfrescoUserStore")>
<#assign groups = store.luceneSearch("TYPE:\"{http://www.alfresco.org/model/user/1.0}authorityContainer\"")>
but I have this error
avm.lookupStore("alfrescoUserStore") is undefined. It cannot be assigned to store

If I call

<#assign stores = avm.stores>
stores is empty.

How can I do this search?

Thanks in advance,
Emanuela

Outcomes