LDAP query for Active Directory DLs RRS feed

  • Question

  • Hi All,

    Is there a way to obtain the underlying LDAP query for Active Directory static and dynamic distribution lists ? Basically I need a query to obtain the list of users that exist in a given DL.

    Thanks in advance,


    Friday, May 31, 2013 2:45 PM


  • This sounds more like a development question than administrative.  SharePoint can see "distribution lists" in as long as they are really security groups.  However, OOTB SharePoint cannot show who the members are of those lists.  As security groups, they are used for permissions within SharePoint.  So if the group has access, the members of that group have access.  This doesn't specifically relate to your question regarding LDAP and AD, but has more to do with administration on the Central Admin and Site Collection side in regards to how permissions can be managed.

    For the list you need, you might be able to talk with your AD admins to have a script written that does this outside of SharePoint.  Alternately, the list of members in a distribution group can also manually be retrieved from the Outlook Global Address Book if that is available to you.  (Doesn't meet the requirments of a query script though)

    Thursday, June 13, 2013 4:37 PM