次の方法で共有


ExchangeUser Interface

Provides detailed information about an AddressEntry that represents a Microsoft Exchange mailbox user.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
<CoClassAttribute(GetType(ExchangeUserClass))> _
<GuidAttribute("000630C9-0000-0000-C000-000000000046")> _
Public Interface ExchangeUser _
    Inherits _ExchangeUser
'Usage
Dim instance As ExchangeUser
[CoClassAttribute(typeof(ExchangeUserClass))]
[GuidAttribute("000630C9-0000-0000-C000-000000000046")]
public interface ExchangeUser : _ExchangeUser

Remarks

This is a .NET interface derived from a COM coclass that is required by managed code for interoperability with the corresponding COM object. Use this derived interface to access all method, property, and event members of the COM object. However, if a method or event you want to use shares the same name under the same COM object, cast to the corresponding primary interface to call the method, and cast to the latest events interface to connect to the event. Refer to this topic for information about the COM object. For information about the method and property members of the COM object, see _ExchangeUser.

ExchangeUser is derived from the AddressEntry object, and is returned instead of an AddressEntry when the caller performs a query interface on the AddressEntry object.

This object provides first-class access to properties applicable to Exchange users such as FirstName, JobTitle, LastName, and OfficeLocation. You can also access other properties specific to the Exchange user that are not exposed in the object model through the PropertyAccessor object. Note that some of the explicit built-in properties are read-write properties. Setting these properties requires the code to be running under an appropriate Exchange administrator account; without sufficient permissions, calling the _ExchangeUser.Update method will result in a "permission denied" error.

See Also

Reference

ExchangeUser Members

Microsoft.Office.Interop.Outlook Namespace

Other Resources

How to: Display a Shared Calendar of a Recipient

How to: Get Information About the Current User

How to: Get Information About All Distribution Lists of Which the Current User is a Member

How to: Get Information About the Current User's Manager

How to: Get Availability Information for an Exchange User's Manager

How to: Check a Manager's Response to a Meeting Request

How to: Get Information About Direct Reports of the Current User's Manager

How to: Create a Mail Item, Attach a Report, and Send the Mail Item to the User's Manager

How to: Get the SMTP Address of the Sender of a Mail Item