Great, the code above works once I figured out the entries. (THANKS idsfa). The only issue now seems to be that it only returns 1000 entries and then stops. I have over 14000 users to quuery. Any idea why?
Comment on Re: need create date of win32 domain user id
Yup. 1000 is the default maximum number of results to return. Use dtdsutil to set maxpagesize like this: set maxpagesize to 20000 Don't forget to 'commit changes'