|
RootDSE() and subtree should do it for you. Also if you expect to
return more than 1000 objects, you should increase the "Page Size" value in
your ADO/ADsDSOObject query.
__________________ Todd Povilaitis LAN
Administrator Huntington Hospital
[EMAIL PROTECTED]
Phone: (626) 397-3392 Fax: (626) 397-2901
Do I want to use
ADO if I want to search
all users in a domain and then alter an attribute based on its current value,
or is there a better method? Up to now, I’ve only tried using
ADO to return a result
set, not modify.
The part I’m struggling with is
making the search recursive through the whole domain, rather than having to
specify a container or OU, and I know in ADO I can specify a
subtree as the scope.
Thanks!
Mark
Creamer
Systems
Engineer
Cintas
Corporation
Honesty and
Integrity in Everything We Do
|