Since our divisions have their own OUs and we delegate admin rights to DivIT, we use a slightly different approach. We use the LDAP method and base it on OU.

$users = GetObject("LDAP://ou=Users,ou=bla,ou=bla,dc=domain,dc=local")

This would return all objects but a filter can be set for user.

There is also the ADODB method with the "ADsDSOObject" that is really fast but involves a lot more code.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.