AnsweredAssumed Answered

LDAP Query - Sub Containers

Question asked by borisj on Apr 10, 2016
Latest reply on Apr 11, 2016 by emha

Hi,

I am trying to get all members (user class) of a security group for another (2 way trust) domain.

If I put the users directly into the CN being queried, this works fine but if the users are instead members of a sub-container, this doesn't work - e.g.

 

  • SG:Managers
    • SG:Finance Manager

                    User:Bob

    • SG:=Sales Manager

                    User:Sue

 

I want to query Managers and get Bob and Sue without putting them directly into Managers.

 

I also tried using usergroup.asmx but across domains that threw an exception:

Failed to invoke web service. Error returned from server: <soap:Fault xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>soap:Server</faultcode><faultstring>Exception of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown.

 

Any ideas please?

Outcomes