8.5.1 IADsO

The IADsO interface is used to get and set the properties of an Organization object. The interface definition is as follows:

[ object, uuid(IID_IADsO), oleautomation, dual ]

interface IADsO: IADs

{

// Read/write properties.

[propget]

HRESULT Description ([out, retval]BSTR *pbstrDescription);

[propput]

HRESULT Description ([in]BSTR bstrDescription);

[propget]

HRESULT LocalityName ([out, retval]BSTR *pbstrLocalityName);

[propput]

HRESULT LocalityName ([in]BSTR bstrLocalityName);

[propget]

HRESULT PostalAddress ([out, retval]BSTR *pbstrPostalAddress);

[propput]

HRESULT PostalAddress ([in]BSTR bstrPostalAddress);

[propget]

HRESULT TelephoneNumber ([out, retval]BSTR *pbstrTelephoneNumber);

[propput]

HRESULT TelephoneNumber ([in]BSTR bstrTelephoneNumber);

[propget]

HRESULT FaxNumber ([out, retval]BSTR *pbstrFaxNumber);

[propput]

HRESULT FaxNumber ([in]BSTR bstrFaxNumber);

[propget]

HRESULT SeeAlso ([out, retval]VARIANT *pvSeeAlso);

[propput]

HRESULT SeeAlso ([in]VARIANT vAlso);

};

Method

Syntax

Description

Description

String

Gets and sets text that describes the Organization.

LocalityName

String

Gets and sets the locality name. The locality name identifies a geographical area in which the container is physically located.

PostalAddress

PostalAddress

Gets and sets the postal address of the organization.

PhoneNumber

PhoneNumber

Gets and sets the telephone number associated with the O.

FaxNumber

FaxNumber

Gets and sets the fax number associated with the O.

SeeAlso

List

Gets and sets an array of names of other directory objects which may be relevant to the O.