How can I better query multiple domains in Active Directory using C#?

后端 未结 2 1231
既然无缘
既然无缘 2021-01-06 17:09

I am attempting to expand a LDAP / AD search from only searching in the currently logged in domain to searching all domains in the AD. The method takes in the string with th

2条回答
  •  Happy的楠姐
    2021-01-06 17:47

    Querying the global catalog is the correct approach.

    You might want to look into Ambigous Name Resolution (ANR) - http://support.microsoft.com/kb/243299.

提交回复
热议问题