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
<GuidAttribute("000630C9-0000-0000-C000-000000000046")> _
Public Interface ExchangeUser _
    Inherits _ExchangeUser
'Usage
Dim instance As ExchangeUser
[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