Results 1 to 2 of 2

Thread: Query AD msExchPoliciesExcluded Object

  1. #1

    Thread Starter
    Member
    Join Date
    May 2006
    Posts
    36

    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?

  2. #2

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width