http://qs321.pair.com?node_id=196732


in reply to ADSI: Getting a full list of users from a w2k domain

My first thought is that the Properties object is actually a collection, so it's interface is set up like so:
$ADOCmd->Properties('PageSize')->{Value}=10000;#new
vs what you have in the code above.

I'm not familiar with the ADSI interface, but that should hopefully get you on the right track with the Command interface at least.

HTH,

C-.

Update: Did some research:

Although what I wrote about the collection is true, from what I've found, you can only set the PageSize in a RecordSet object, like so:

use Win32::OLE 'in'; my $ADO = Win32::OLE->new("ADODB.Connection"); $ADO->{Provider} = "ADsDSOObject"; $ADO->Open("ADSI Provider"); my $ADOCmd=Win32::OLE->new("ADODB.Command"); my $ADOrs = Win32::OLE->new("ADODB.RecordSet"); $ADOrs->PageSize->{Value}=10000;

---
Flex the Geek