Quote:

You code was also returning groups as well as users so I added the .class If Endif portion to be sure it only logs users.




he was on the right track with the

$domain.filter = "user"

but the .filter object needs an array passed to it for it to work.

$domain.filter = "user",""

or

$domain.filter = split("user")

will give .filter the needed array value for it to work.


Edited by Bryce (2004-03-12 09:00 PM)