Is there a way I can write a search function using DirectoryServices that will return only results located within a specific organizational unit in active directory?
The idea being to write a search function that will return, say, a list of all domain controllers for a domain (they all reside in the Domain Controllers OU).
My main goal is to get a list of all the domain controllers, so if you know of a better way than what i'm trying... that's fine with me!
Thanks
The idea being to write a search function that will return, say, a list of all domain controllers for a domain (they all reside in the Domain Controllers OU).
My main goal is to get a list of all the domain controllers, so if you know of a better way than what i'm trying... that's fine with me!
Thanks