?
=?iso-8859-1?q?R=E9my_Samulski?=
Dear readers,
How can I obtain all AD Objects within a OU? I can find all AD Objects
in the root of my Active Directory when I use the DirectorySearcher and
passing the DirectoryEntry I find using the defaultNamingContext
property of the RootDSE DirectoryEntry. However when I try to pass
another DirectoryEntry as SearchRoot I trigger an error. Does anyone
know how I can use the DirectorySearcher (or something else) to
retrieve all users from a particular OU?
Many Thanks,
Remy Samulski
How can I obtain all AD Objects within a OU? I can find all AD Objects
in the root of my Active Directory when I use the DirectorySearcher and
passing the DirectoryEntry I find using the defaultNamingContext
property of the RootDSE DirectoryEntry. However when I try to pass
another DirectoryEntry as SearchRoot I trigger an error. Does anyone
know how I can use the DirectorySearcher (or something else) to
retrieve all users from a particular OU?
Many Thanks,
Remy Samulski