AnsweredAssumed Answered

get all groups in alfresco

Question asked by alfdeveloper1 on May 16, 2013
Latest reply on Jan 15, 2014 by rasm
I am trying to implement a admin console module for alfresco share 4.2.c community……..
I want to display a list of all groups in Alfresco…
I tried the following:

var myGroups = groups.getAllRootGroups();

but it says that "groups" is not defined….
Any idea what might the problem be..?
thank u!!