AnsweredAssumed Answered

getting all users within a user group [solved]

Question asked by michaelc on Apr 21, 2011
Latest reply on Apr 21, 2011 by michaelc
So this looks simple but I missed something.

I want to get a list of all users within a user group.
I created a group called  CreateSiteAdministrator I added 2 users to it.

I would expect a get of http://localhost/alfresco/service/api/groups/CreateSiteAdministrator/childern?authorityType=USER

to return me a list of users, but I only see the data.
possible to show me what I missed ?

result
{
   "data":{
         "authorityType": "GROUP",
         "shortName": "CreateSiteAdministrator",
         "fullName": "GROUP_CreateSiteAdministrator",
         "displayName": "CreateSiteAdministrator",
         "isRootGroup": true,
         "isAdminGroup": false,
         "url": "/api/groups/CreateSiteAdministrator"
}

}

Outcomes