cristi71000
cristi71000

Reputation: 1124

Top level Active directory path?

I need to iterate programatically through all items in a specific OU in an active directory tree (C#). For that I have a configuration that specifies which OU to iterate. This works ok.

However my client now wants to iterate through all items in the AD tree. How could I specify a path which contains all OUs in the AD tree so that my application will iterate through all of them?

Thanks!

Upvotes: 0

Views: 394

Answers (1)

Nick Hill
Nick Hill

Reputation: 4917

You can specify only domain components. E.g.: LDAP://DC=Fabrikam,DC=COM

Read more: Distinguished Names

Upvotes: 1

Related Questions