IADsLocality interface

The IADsLocality interface is a dual interface that inherits from IADs. It is designed to represent the geographical location, or region, of a directory entity. This interface is one of several that provide support for directory services to organize accounts by country/region, locality (state/city/region), organization (company), or organizational unit (department). This interface manages locality, the IADsO interface manages organization, and the IADsOU interface manages the organization unit.

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

Members

The IADsLocality interface inherits from IDispatch and IADs. IADsLocality also has these types of members:

Methods

The IADsLocality interface has these methods.

MethodDescription
Get

Gets the value for a property by name.

GetEx

Gets the value for a single or multi-valued property by name.

GetInfo

Loads the property values of this object from the underlying directory store.

GetInfoEx

Loads specific property values of this object from the underlying directory store.

Put

Sets the value for a property by name.

PutEx

Sets the value for a single or multi-valued property by name.

SetInfo

Persists the changes on this object to the underlying directory store.

 

Properties

The IADsLocality interface has these properties.

PropertyAccess typeDescription

AdsPath

Read-only

Gets the object's ADsPath that uniquely identifies this object from all others.

Class

Read-only

Gets the name of the object's schema class.

Description

Read/write

Gets and sets the description of the geographical region as represented by this object.

GUID

Read-only

Gets the GUID of the object as stored in the underlying directory store.

LocalityName

Read/write

Gets and sets the name of this region.

Name

Read-only

Gets the object's relative name.

Parent

Read-only

Gets the ADsPath string for the parent of the object.

PostalAddress

Read/write

Gets and sets the main post office address of this region.

Schema

Read-only

Gets the ADsPath string to the schema class object for this object.

SeeAlso

Read/write

Gets and sets any other information relevant to this region.

 

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Iads.h

DLL

Activeds.dll

IID

IID_IADsLocality is defined as A05E03A2-EFFE-11CF-8ABC-00C04FD8D503

See also

IADsO
IADsOU
IADsLocality Property Methods

 

 

Show:
© 2014 Microsoft