?
Solved

Exchange 2007 Dynamic DL with binary flag in a custom attribute

Posted on 2008-10-21
2
Medium Priority
?
401 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 71

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Check out this step-by-step guide for using the newly updated Experts Exchange mobile app—released on May 30.
In the absence of a fully-fledged GPO Management product like AGPM, the script in this article will provide you with a simple way to watch the domain (or a select OU) for GPOs changes and automatically take backups when policies are added, removed o…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …
Suggested Courses
Course of the Month15 days, 1 hour left to enroll

770 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