Platform SDK: Active Directory, ADSI, and Directory Services

Finding Objects by Name

Most objects have cn (Common-Name) as their naming attribute. However, a few have naming attributes that are not cn (such as domainDNS, which is DC, and organizationalUnit, which is OU). To avoid having to remember what the naming attribute is, use the name (RDN) attribute.