How to query Active Directory by using a bitwise filter (269181)
The information in this article applies to:
- Microsoft Active Directory Services Interface, System Component
- Microsoft Active Directory Services Interface, Microsoft Active Directory Client
- Microsoft Active Directory Service Interfaces 2.5
This article was previously published under Q269181 SUMMARY
Some attributes on Active Directory objects are composed of bitwise flags. You may need to query for objects using a bitwise operator to return only objects that match a particular bit being set. Use the Lightweight Directory Access Protocol (LDAP) Matching Rule controls to do this.
REFERENCES
For more information on how to use the LDAP Matching Rule, see the Platform Software Development Kit (SDK). This information is found in the Contents at:
Networking and Directory Services
Active Directory, ADSI, and Directory Services
Active Directory
Using Active Directory
Searching the Active Directory
Creating a Query Filter
How to Specify Comparison Values
For more information on how to use the LDAP Matching Rule, see the samples included in the Platform SDK. These samples are located in the
\Microsoft PlatformSDK\Samples\NetDs\ADSI\Samples\ActiveDir\Attributes and SDK\Samples\NetDs\ADSI\Samples\ActiveDir\GetSchemaInfo folders.
Modification Type: | Major | Last Reviewed: | 2/8/2006 |
---|
Keywords: | kbhowto kbMsg KB269181 kbAudDeveloper |
---|
|