Edytuj

Udostępnij za pośrednictwem


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

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

(Inherited from _ExchangeUser)
AddressEntryUserType

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

(Inherited from _ExchangeUser)
Alias

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

(Inherited from _ExchangeUser)
Application

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

(Inherited from _ExchangeUser)
AssistantName

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

(Inherited from _ExchangeUser)
BusinessTelephoneNumber

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

(Inherited from _ExchangeUser)
City

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

(Inherited from _ExchangeUser)
Class

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

(Inherited from _ExchangeUser)
Comments

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

(Inherited from _ExchangeUser)
CompanyName

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

(Inherited from _ExchangeUser)
Department

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

(Inherited from _ExchangeUser)
DisplayType

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

(Inherited from _ExchangeUser)
FirstName

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

(Inherited from _ExchangeUser)
ID

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

(Inherited from _ExchangeUser)
JobTitle

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

(Inherited from _ExchangeUser)
LastName

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

(Inherited from _ExchangeUser)
Manager

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

(Inherited from _ExchangeUser)
MAPIOBJECT

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

(Inherited from _ExchangeUser)
Members

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

(Inherited from _ExchangeUser)
MobileTelephoneNumber

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

(Inherited from _ExchangeUser)
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

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

(Inherited from _ExchangeUser)
Parent

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

(Inherited from _ExchangeUser)
PostalCode

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

(Inherited from _ExchangeUser)
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

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

(Inherited from _ExchangeUser)
Session

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

(Inherited from _ExchangeUser)
StateOrProvince

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

(Inherited from _ExchangeUser)
StreetAddress

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

(Inherited from _ExchangeUser)
Type

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

(Inherited from _ExchangeUser)
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

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

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

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

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()

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

(Inherited from _ExchangeUser)
Details(Object)

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

(Inherited from _ExchangeUser)
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()

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

(Inherited from _ExchangeUser)
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()

Returns the ExchangeUser object.

(Inherited from _ExchangeUser)
GetExchangeUserManager()

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

(Inherited from _ExchangeUser)
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()

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()

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

(Inherited from _ExchangeUser)
Update(Object, Object)

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

(Inherited from _ExchangeUser)
UpdateFreeBusy()

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

(Inherited from _ExchangeUser)

Applies to