ExchangeUser ExchangeUser ExchangeUser Interface

Definition

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

public interface class ExchangeUser : Microsoft::Office::Interop::Outlook::_ExchangeUser
[System.Runtime.InteropServices.Guid("000630C9-0000-0000-C000-000000000046")]
public interface ExchangeUser : Microsoft.Office.Interop.Outlook._ExchangeUser
Public Interface ExchangeUser
Implements _ExchangeUser
Derived
Attributes
Implements

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 Update(Object, Object) method will result in a "permission denied" error.

Properties

Address Address Address

Returns or sets a String (string in C#) representing the X400 e-mail address of the ExchangeUser. Read/write.

(Inherited from _ExchangeUser)

AddressEntryUserType AddressEntryUserType AddressEntryUserType

Returns olExchangeUserAddressEntry which is a constant from the OlAddressEntryUserType enumeration representing the user type of the ExchangeUser. Read-only.

(Inherited from _ExchangeUser)

Alias Alias Alias

Returns a String (string in C#) representing the alias for the ExchangeUser. Read-only.

(Inherited from _ExchangeUser)

Application Application Application

Returns an Application object that represents the parent application (Outlook) for the ExchangeUser object. Read-only.

(Inherited from _ExchangeUser)

AssistantName AssistantName AssistantName

Returns a String (string in C#) representing the name of the assistant for the ExchangeUser. Read/write.

(Inherited from _ExchangeUser)

BusinessTelephoneNumber BusinessTelephoneNumber BusinessTelephoneNumber

Returns a String (string in C#) representing the business telephone number for the ExchangeUser. Read/write.

(Inherited from _ExchangeUser)

City City City

Returns a String (string in C#) representing the city for the ExchangeUser. Read/write.

(Inherited from _ExchangeUser)

Class Class Class

Returns a constant in the OlObjectClass enumeration indicating the class of the ExchangeUser object. Read-only.

(Inherited from _ExchangeUser)

Comments Comments Comments

Returns a String (string in C#) representing the comments for the ExchangeUser. Read/write.

(Inherited from _ExchangeUser)

CompanyName CompanyName CompanyName

Returns a String (string in C#) representing the name of the company for the ExchangeUser. Read/write.

(Inherited from _ExchangeUser)

Department Department Department

Returns a String (string in C#) representing the department for the ExchangeUser. Read/write.

(Inherited from _ExchangeUser)

DisplayType DisplayType DisplayType

Returns olUser which is a constant from the OlDisplayType enumeration representing the nature of the ExchangeUser. Read-only.

(Inherited from _ExchangeUser)

FirstName FirstName FirstName

Returns a String (string in C#) representing the first name of the ExchangeUser. Read/write.

(Inherited from _ExchangeUser)

ID ID ID

Returns a String (string in C#) representing the unique identifier for the ExchangeUser. Read-only.

(Inherited from _ExchangeUser)

JobTitle JobTitle JobTitle

Returns a String (string in C#) representing the job title of the ExchangeUser. Read/write.

(Inherited from _ExchangeUser)

LastName LastName LastName

Returns a String (string in C#) representing the last name of the ExchangeUser. Read/write.

(Inherited from _ExchangeUser)

Manager Manager Manager

This object, member, or enumeration is deprecated and is not intended to be used in your code.

(Inherited from _ExchangeUser)

MAPIOBJECT MAPIOBJECT MAPIOBJECT

This object, member, or enumeration is deprecated and is not intended to be used in your code.

(Inherited from _ExchangeUser)

Members Members Members

This object, member, or enumeration is deprecated and is not intended to be used in your code.

(Inherited from _ExchangeUser)

MobileTelephoneNumber MobileTelephoneNumber MobileTelephoneNumber

Returns a String (string in C#) representing the mobile telephone number for the ExchangeUser. Read/write.

(Inherited from _ExchangeUser)

Name Name Name

Returns or sets a String (string in C#) value that represents the display name for the ExchangeUser object. Read/write.

(Inherited from _ExchangeUser)

OfficeLocation OfficeLocation OfficeLocation

Returns a String (string in C#) representing the office location for the ExchangeUser. Read/write.

(Inherited from _ExchangeUser)

Parent Parent Parent

Returns the parent Object of the ExchangeUser object. Read-only.

(Inherited from _ExchangeUser)

PostalCode PostalCode PostalCode

Returns a String (string in C#) representing the postal code for the ExchangeUser. Read/write.

(Inherited from _ExchangeUser)

PrimarySmtpAddress PrimarySmtpAddress PrimarySmtpAddress

Returns a String (string in C#) representing the primary Simple Mail Transfer Protocol (SMTP) address for the ExchangeUser. Read-only.

(Inherited from _ExchangeUser)

PropertyAccessor PropertyAccessor PropertyAccessor

Returns a PropertyAccessor object that supports creating, getting, setting, and deleting properties of the parent ExchangeUser object. Read-only.

(Inherited from _ExchangeUser)

Session Session Session

Returns the NameSpace object for the current session. Read-only.

(Inherited from _ExchangeUser)

StateOrProvince StateOrProvince StateOrProvince

Returns a String (string in C#) representing the state or province for the ExchangeUser. Read/write.

(Inherited from _ExchangeUser)

StreetAddress StreetAddress StreetAddress

Returns a String (string in C#) representing the street address for the ExchangeUser. Read/write.

(Inherited from _ExchangeUser)

Type Type Type

Returns a String (string in C#) representing the type of entry for the ExchangeUser. Read/write.

(Inherited from _ExchangeUser)

YomiCompanyName YomiCompanyName YomiCompanyName

Returns a String (string in C#) representing the Japanese phonetic rendering (yomigana) of the company name for the ExchangeUser. Read/write.

(Inherited from _ExchangeUser)

YomiDepartment YomiDepartment YomiDepartment

Returns a String (string in C#) representing the Japanese phonetic rendering (yomigana) of the department name for the ExchangeUser. Read/write.

(Inherited from _ExchangeUser)

YomiDisplayName YomiDisplayName YomiDisplayName

Returns a String (string in C#) representing the Japanese phonetic rendering (yomigana) of the Exchange display name for the ExchangeUser. Read/write.

(Inherited from _ExchangeUser)

YomiFirstName YomiFirstName YomiFirstName

Returns a String (string in C#) representing the Japanese phonetic rendering (yomigana) of the first name for the ExchangeUser. Read/write.

(Inherited from _ExchangeUser)

YomiLastName YomiLastName YomiLastName

Returns a String (string in C#) representing the Japanese phonetic rendering (yomigana) of the last name for the ExchangeUser. Read/write.

(Inherited from _ExchangeUser)

Methods

Delete() Delete() Delete()

Deletes the ExchangeUser object from the AddressEntries collection object to which it belongs.

(Inherited from _ExchangeUser)

Details(Object) Details(Object) Details(Object)

Displays a modal dialog box that provides detailed information about an ExchangeUser object.

(Inherited from _ExchangeUser)

GetContact() GetContact() GetContact()

Returns Nothing (a null reference (Nothing in Visual Basic) in C#) because the ExchangeUser object does not correspond to a contact in a Contacts Address Book.

(Inherited from _ExchangeUser)

GetDirectReports() GetDirectReports() GetDirectReports()

Obtains an AddressEntries collection object that contains all the users directly reporting to the Exchange user.

(Inherited from _ExchangeUser)

GetExchangeDistributionList() GetExchangeDistributionList() GetExchangeDistributionList()

Returns Nothing (a null reference (Nothing in Visual Basic) in C#) because the ExchangeUser object does not correspond to an ExchangeDistributionList object.

(Inherited from _ExchangeUser)

GetExchangeUser() GetExchangeUser() GetExchangeUser()

Returns the ExchangeUser object.

(Inherited from _ExchangeUser)

GetExchangeUserManager() GetExchangeUserManager() GetExchangeUserManager()

Returns an ExchangeUser object that represents the manager of the Exchange user.

(Inherited from _ExchangeUser)

GetFreeBusy(DateTime, Int32, Object) GetFreeBusy(DateTime, Int32, Object) GetFreeBusy(DateTime, Int32, Object)

Obtains a String (string in C#) representing the availability of the ExchangeUser for a period of 30 days from the start date, beginning at midnight of the date specified.

(Inherited from _ExchangeUser)

GetMemberOfList() GetMemberOfList() GetMemberOfList()

Returns an AddressEntries collection object that contains the AddressEntry objects representing all the Exchange distribution lists to which the user belongs.

(Inherited from _ExchangeUser)

GetPicture() GetPicture() GetPicture()

Obtains a stdole.StdPicture object that represents the picture of the Microsoft Exchange user that is displayed in Microsoft Outlook.

(Inherited from _ExchangeUser)

Update(Object, Object) Update(Object, Object) Update(Object, Object)

Posts a change to the ExchangeUser object in the messaging system.

(Inherited from _ExchangeUser)

UpdateFreeBusy() UpdateFreeBusy() UpdateFreeBusy()

This object, member, or enumeration is deprecated and is not intended to be used in your code.

(Inherited from _ExchangeUser)

Applies to