Skip to main content

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?

make sure that in LDAP query advanced options you have set search scope to subtree.

try to send exception message to yourself by mail. it should be longer then what you have provided here and might contain some further info about what is a problem.


Reply