Platform SDK: Active Directory, ADSI, and Directory Services

Binding to an Object's Parent Container

In ADSI, a directory object is represented by an ADSI COM object and every ADSI COM object exposes an IADs interface. The IADs interface has the IADs::get_Parent method so that you can get the ADsPath for the parent of the directory object. You can use that ADsPath to bind to the parent object.