Platform SDK: Active Directory, ADSI, and Directory Services

IADsO

The IADsO interface is designed for representing and managing the organization to which an account belongs. This interface is one of several that provide support for directory services to organize accounts by country, locality (region), organization (company), and organizational unit (department). Organization is managed by this interface, locality by the IADsLocality interface, and organization unit by IADsOU.

When a directory service provides hierarchical groupings of directory entries by country, locality, organization, and organization unit, you can use this, and the related interfaces, to expand the directory tree accordingly. In this case, the IADsO interface is implemented by an organization object that implements the IADsContainer interface as well.

IADsO is a dual interface that inherits from IADs. The IADsO interface exposes the following properties and methods.

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.

IADsO property methods Description
get/put_Description Gets and sets the description of the organization, such as the company name.
get/put_LocalityName Gets and sets the name of the physical location of the organization.
get/put_PostalAddress Gets and sets the postal address of the organization.
get/put_TelephoneNumber Gets and sets the telephone number of the organization.
get/put_FaxNumber Gets and sets the fax number of the organization.
get/put_SeeAlso Gets and sets the other information relevant to this organization.

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

IADsLocality, IADsOU, IADsContainer, IADsO Property Methods