Directory Services

IADsOU

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

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

Methods in Vtable Order

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

In addition, IADsOU defines the following methods.

Method Description
get_Description Gets and sets the description of the organizational unit.
put_Description Gets and sets the description of the organizational unit.
get_LocalityName Gets and sets the physical location of the unit.
put_LocalityName Gets and sets the physical location of the unit.
get_PostalAddress Gets and sets the post office address of the unit.
put_PostalAddress Gets and sets the post office address of the unit.
get_TelephoneNumber Gets and sets the telephone number of the unit.
put_TelephoneNumber Gets and sets the telephone number of the unit.
get_FaxNumber Gets and sets the fax number of the unit.
put_FaxNumber Gets and sets the fax number of the unit.
get_SeeAlso Gets and sets the other information relevant to the unit.
put_SeeAlso Gets and sets the other information relevant to the unit.
get_BusinessCategory Gets and sets the category of general business functions of the unit.
put_BusinessCategory Gets and sets the category of general business functions of the unit.

Properties

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

Property Description
BusinessCategory Gets and sets the category of general business functions of the unit.
Description Gets and sets the description of the organizational unit.
FaxNumber Gets and sets the fax number of the unit.
LocalityName Gets and sets the physical location of the unit.
PostalAddress Gets and sets the post office address of the unit.
SeeAlso Gets and sets the other information relevant to the unit.
TelephoneNumber Gets and sets the telephone number of the unit.

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

IADsLocality, IADsO, IADsContainer, IADsOU Property Methods