AnsweredAssumed Answered

List all user groups in Alfresco

Question asked by eagle on Jul 20, 2007
Hello,

With this code, I can get with a list view all users of Alfresco.

         <associations>
            <association name="test:users">
               <target>
                  <class>cm:person</class>
                  <mandatory>false</mandatory>
                  <many>true</many>
               </target>
            </association>
         </associations>


Could you tell me now how can I do to list all user groups in Alfresco? I've ever tried this but it doesn't work:

         <associations>
            <association name="test:groups">
               <target>
                  <class>user:authorityContainer</class>
                  <mandatory>false</mandatory>
                  <many>true</many>
               </target>
            </association>
         </associations>

I really need your help. Thanks.

Outcomes