Using fnADQuery I can find a user without problem, after looking through the code, I think I'm actually having trouble with the 'sFilter' part of the search. What should I be putting in to return the adspath, name and distinguished name of EVERY user?

Code:

$sWhat = "Name", "AdsPath", "distinguishedName"
$sFrom = "LDAP://"+GetObject("LDAP://rootDSE").Get("defaultNamingContext")
$sFilter = "(objectCategory=user)"
$sScope = "subtree"


I'm sure that my filter is wrong, I have ADSI edit but it's a little confusing to find what I'm looking for, any good links that I can use so I could learn how to use the filters properly and possibly solve my own problem or would someone point out where I'm going wrong with this?