cancel
Showing results for 
Search instead for 
Did you mean: 

how to get all group members from Active Directory Group

miechan
Champ in-the-making
Champ in-the-making
Hi All,
I'm new in Alfresco. I've tried to integrate LDAP (Microsoft Active Directory) with Alfresco community 4.2 and it succeed.
But how can I see the group members of the AD group that been successful pulled from AD? Because I try to give permission to a folder for specified AD group but when that group member login into Alfresco, they can't see the folder which actually I had gave the permission. I gave the permission for that group as Contributor. But only admin that can see that folder now.

Please help me.

Thank you.
3 REPLIES 3

romschn
Star Collaborator
Star Collaborator
Are the users imported to alfresco? Are you able to see the users in the group from alfresco? Please refer to - http://alfresco-for-developers.blogspot.in/2014/04/quick-way-to-get-all-users-of-specific.html - which gives a quick way to find out the users belonging to a specific group.

miechan
Champ in-the-making
Champ in-the-making
Hi Ramesh
Thank you for your help. I have tried using your script and these are the results :

{
   "data": [
   ]

  ,
    "paging":
    {
      "maxItems": 2147483647,
      "skipCount": 0,
      "totalItems": 0,
      "totalItemsRangeEnd": null,
      "confidence": "exact"
    }
}

Does it mean there is no user has been imported?

romschn
Star Collaborator
Star Collaborator
That is correct. It indicates that the group you have queried for does not contain any user.