_ExchangeUser Interface

Definition

This is a primary interface in a COM coclass that is required by managed code for interoperability with the corresponding COM object. Use this primary interface only when the method you want to use shares the same name as an event of the COM object; in this case, cast to this interface to call the method, and cast to the latest events interface to connect to the event. Otherwise, use the .NET interface that is derived from the COM coclass to access methods, properties, and events of the COM object. For information about the COM object, see ExchangeUser.

public interface class _ExchangeUser
[System.Runtime.InteropServices.Guid("000630C9-0000-0000-C000-000000000046")]
public interface _ExchangeUser
Public Interface _ExchangeUser
Derived
Attributes

Properties

Address

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

AddressEntryUserType

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

Alias

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

Application

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

AssistantName

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

BusinessTelephoneNumber

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

City

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

Class

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

Comments

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

CompanyName

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

Department

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

DisplayType

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

FirstName

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

ID

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

JobTitle

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

LastName

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

Manager

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

MAPIOBJECT

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

Members

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

MobileTelephoneNumber

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

Name

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

OfficeLocation

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

Parent

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

PostalCode

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

PrimarySmtpAddress

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

PropertyAccessor

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

Session

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

StateOrProvince

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

StreetAddress

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

Type

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

YomiCompanyName

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

YomiDepartment

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

YomiDisplayName

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

YomiFirstName

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

YomiLastName

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

Methods

Delete()

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

Details(Object)

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

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.

GetDirectReports()

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

GetExchangeDistributionList()

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

GetExchangeUser()

Returns the ExchangeUser object.

GetExchangeUserManager()

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

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.

GetMemberOfList()

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

GetPicture()

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

Update(Object, Object)

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

UpdateFreeBusy()

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

Applies to