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:
vs what you have in the code above.$ADOCmd->Properties('PageSize')->{Value}=10000;#new
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
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: ADSI: Getting a full list of users from a w2k domain
by OzzyOsbourne (Chaplain) on Sep 10, 2002 at 18:21 UTC | |
by cacharbe (Curate) on Sep 10, 2002 at 18:41 UTC | |
by OzzyOsbourne (Chaplain) on Sep 11, 2002 at 11:09 UTC | |
by cacharbe (Curate) on Sep 11, 2002 at 13:05 UTC |
In Section
Seekers of Perl Wisdom