dsmod/dsget universal group limitation



I am trying to add users to universal groups with DSQuery | DSMod
commands and have noticed that if there are only a few members, (up to
about a thousand) it works. Somewhere above this point I am unable to
edit, (or return through DSGet) the membership of the list. Someone
else posted a very similar question about a year ago, (link below) and
it was said to be a bug but there was no follow-up. Has anyone else
run into this or more importantly, found a solution?





This should get you about 3000. Just set your object
properties to reflect your script.

Set objCommand = CreateObject("ADODB.Command") 'Create an
ADO Command object in memory, and assign the Command _
objCommand.ActiveConnection = objConnection '
object's ActiveConnection property to the Connection object

objCommand.Properties("Page Size") = 100
objCommand.Properties("Size Limit") = 3000

Default is 1000 that is why only the first 1000 work

Paul Bergson MCSE, MCT, CNE, CNA, CCA

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question