Enumerating Indexed Attributes in Windows 2000 Active Directory (230662)
The information in this article applies to:
- Microsoft Windows 2000 Server
- Microsoft Windows 2000 Advanced Server
- Microsoft Windows 2000 Datacenter Server
This article was previously published under Q230662 SUMMARY
To achieve the best performance when querying against the Active Directory, you should query indexed attributes. Indexed attributes are configured with the searchFlags bit set of 0x00000001.
To enumerate all indexed attributes, bind to the schema container and use the following LDAP filter:
(&(objectCategory=attributeSchema)(searchFlags:1.2.840.113556.1.4.803:=1))
Modification Type: | Major | Last Reviewed: | 11/13/2003 |
---|
Keywords: | kbhowto kbnetwork KB230662 |
---|
|