Platform SDK: Active Directory, ADSI, and Directory Services

IADsDNWithString

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

Methods in Vtable Order

IUnknown methods Description
QueryInterface Returns pointers to supported interfaces.
AddRef Increments reference count.
Release Decrements reference count.

IDispatch methods Description
GetTypeInfoCount Gets the number of type descriptions.
GetTypeInfo Gets a description of object's programmable interface.
GetIDsOfNames Maps name of method or property to DISPID.
Invoke Calls one of the object's methods or gets and sets one of its properties.

IADsDNWithString property methods Description
get_StringValue Retrieves the string value associated with a DN of an object.
put_StringValue Associates the string value of the object with a DN.
get_DNString Retrieves the DN of the object associated with a given string value.
put_DNString Associates a DN of an object with a string value.

Requirements

  Windows NT/2000: Requires Windows 2000 (or Windows NT 4.0 with DSClient).
  Windows 95/98: Requires Windows 95 or later (with DSClient).
  Header: Declared in Iads.h.

See Also

IADsDNWithString Property Methods