|
-
May 5th, 2006, 01:10 PM
#1
Thread Starter
Member
Query AD msExchPoliciesExcluded Object
Hi,
I am trying to query Active Directory to find all users that have the Email Policy turned off. The msExchPoliciesExcluded is what I am trying to search for using the value =\{26491CFC-9E50-4857-861B-0CB8DF22B5D7\} which is the value for any user that has it disabled, but I can't get any results. I have tried msExchPoliciesExcluded=True, =*, !Null but nothing I have will return results.
My search string is like this:strQuery = "<" & oConfig.adspath & ">;(&(objectCategory=person)(objectClass=User)(msExchPoliciesExcluded=\{26491CFC-9E50-4857-861B-0CB8DF22B5D7\}));name,objectClass;subtree"
Any thoughts?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|