Yes, you can use an "OR". http://msdn.microsoft.com/library/default.asp?url=/library/en-us/netdir/adsi/search_filter_syntax.asp
> -----Original Message----- > From: Bloom, Tom [mailto:[EMAIL PROTECTED]] > Posted At: Tuesday, January 29, 2002 09:47 AM > Posted To: MSExchange Mailing List > Conversation: Custom Address List--LDAP query > Subject: Custom Address List--LDAP query > > > I'd like to create one address list for our department that > includes users and distribution lists. Creating each one > individually is easy but I haven't been able to combine them > (without including distribution lists from other departments, > which I don't want). Can you use an "OR" in an LDAP query? > I'm new to LDAP queries and need a good reference source, if > anyone knows one. > > Here are the two separate queries. Thanks. > > (&(&(&(& (mailnickname=*) (| (objectCategory=group) > )))(objectCategory=group)(description=DSL*))) > > (&(&(&(& (mailnickname=*) (| > (&(objectCategory=person)(objectClass=user)(|(homeMDB=*)(msExc > hHomeServerName=*))) > )))(objectCategory=user)(department=Student Life))) > > Tom Bloom > Texas A&M University > > > > _________________________________________________________________ > List posting FAQ: http://www.swinc.com/resource/exch_faq.htm > Archives: http://www.swynk.com/sitesearch/search.asp > To unsubscribe: mailto:[EMAIL PROTECTED] > Exchange List admin: [EMAIL PROTECTED] > _________________________________________________________________ List posting FAQ: http://www.swinc.com/resource/exch_faq.htm Archives: http://www.swynk.com/sitesearch/search.asp To unsubscribe: mailto:[EMAIL PROTECTED] Exchange List admin: [EMAIL PROTECTED]

