Solved

Exchange 2007 Dynamic DL with binary flag in a custom attribute

Posted on 2008-10-21
2
366 Views
Last Modified: 2012-06-27
Looking at organising some contacts (new, well controlled) into dynamic DLs.
For future proofing I'd liek to use a single custom attribute and give it a binary value which indicates all the DLs that contact should appear in.

001 = DL1
010 = DL2
011 + DL1 + DL2
100 = DL3
101 = DL3 + DL1

Now I can see how to generate the value (probably not in the exchange shell) by having a use check some boxes and copy and paste into the contact.
How can I write an extensible query for each DL?

etc

Can I write queries with binary ops?
0
Comment
Question by:Carol Chisholm
2 Comments
 
LVL 70

Expert Comment

by:Chris Dent
ID: 22774473

> Can I write queries with binary ops?

It's not mentioned anywhere in the documentation for OPath queries.

At least one potential problem is that the attribute you're using is a String, not Binary (even if you fill it with a string of 1's and 0's). That might mess up binary comparison if it tries to implicitly convert the string to binary.

That said, it may be worth trying to use the Bitwise And (-BAnd), I don't expect it to work, but trying won't hurt :)

Chris
0
 
LVL 16

Accepted Solution

by:
Carol Chisholm earned 0 total points
ID: 23049446
Gave up on this one
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
Read this checklist to learn more about the 15 things you should never include in an email signature.
In this video we show how to create an email address policy in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Mail Flow…
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

912 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now