> When querying LDAP (Exchange 5.5) for dist lists, one of the
> fields contains a multi-value of the members of it. Since the
> property merely contains a dn list of the members, one thing
> that the list contains is people who are actually hidden. However,
> since that property list doesn't contain that portion of the
> info, if I try to extract each user and do individual look-ups,
> when I come to someone who's actually hidden the query fails (as
> expected) and no data is returned. However, I'm not having
> any success dealing with the non-existent data. IsDefined doesn't
> seem to work, nor does "" (in many iterations).
It's been a while since I've worked against an LDAP server, but this general
query information might be helpful.
If you don't get any records back, the query shouldn't fail; instead, it
should just have no records. You can use the RecordCount query variable
(myquery.RecordCount) - if it's zero, your query is empty.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists