I’m sorry I didn’t word the question very well…I understand how to get the ADO search to work, per your suggestion. Can I update the value? e.g. objRS.Update or something to that effect?

 

Or do I need a subroutine that builds the user object first?

 

 

<mc>

-----Original Message-----
From: Todd Povilaitis [mailto:[EMAIL PROTECTED]
Sent: Friday, December 19, 2003 12:06 PM
To:
[EMAIL PROTECTED]
Subject: RE: [ActiveDir] ADO

 

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

-----Original Message-----
From: Creamer, Mark [mailto:[EMAIL PROTECTED]
Sent: Friday, December 19, 2003 08:31
To: [EMAIL PROTECTED]
Subject: [ActiveDir] ADO

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

 

Reply via email to