Directory Services

IADsDNWithString

The IADsDNWithString interface provides methods for an ADSI client to associate a distinguished name (DN) to a string value.

Methods in Vtable Order

The IADsDNWithString interface inherits the methods of the standard COM interfaces:

In addition, IADsDNWithString defines the following methods.

Method Description
get_StringValue Retrieves the string value associated to the DN of an object.
put_StringValue Associates the string value of the object to a DN.
get_DNString Retrieves the DN of an object that is associated to a given string value.
put_DNString Associates the DN of an object to a string value.

Properties

The IADsDNWithString interface defines the following properties. The preceding table includes access methods for these properties.

Property Description
DNString Retrieves the DN of an object using an associated string value, or associates the DN of an object to a string value.
StringValue Retrieves the string value that has been associated to the DN of an object, or associates a string value to the DN of an object.

Requirements

Client: Included in Windows XP and Windows 2000 Professional.
Server: Included in Windows Server 2003 and Windows 2000 Server.
Redistributable: Requires Active Directory Client Extension on Windows NT 4.0 SP6a and Windows 95/98/Me.
Header: Declared in Iads.h.

See Also

IADsDNWithString Property Methods