Share via


_ExchangeUser Members

Include Protected Members
Include Inherited Members

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.

The _ExchangeUser type exposes the following members.

Properties

 

Name

Description

Public property

Address

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

Public property

AddressEntryUserType

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

Public property

Alias

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

Public property

Application

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

Public property

AssistantName

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

Public property

BusinessTelephoneNumber

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

Public property

City

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

Public property

Class

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

Public property

Comments

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

Public property

CompanyName

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

Public property

Department

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

Public property

DisplayType

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

Public property

FirstName

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

Public property

ID

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

Public property

JobTitle

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

Public property

LastName

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

Public property

Manager

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

Public property

MAPIOBJECT

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

Public property

Members

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

Public property

MobileTelephoneNumber

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

Public property

Name

Returns or sets the display name for the ExchangeUser object. Read/write.

Public property

OfficeLocation

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

Public property

Parent

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

Public property

PostalCode

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

Public property

PrimarySmtpAddress

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

Public property

PropertyAccessor

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

Public property

Session

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

Public property

StateOrProvince

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

Public property

StreetAddress

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

Public property

Type

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

Public property

YomiCompanyName

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

Public property

YomiDepartment

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

Public property

YomiDisplayName

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

Public property

YomiFirstName

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

Public property

YomiLastName

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

Top

Methods

 

Name

Description

Public method

Delete

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

Public method

Details

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

Public method

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.

Public method

GetDirectReports

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

Public method

GetExchangeDistributionList

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

Public method

GetExchangeUser

Returns the ExchangeUser object.

Public method

GetExchangeUserManager

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

Public method

GetFreeBusy

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.

Public method

GetMemberOfList

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

Public method

Update

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

Public method

UpdateFreeBusy

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

Top

See Also

Reference

_ExchangeUser Interface

Microsoft.Office.Interop.Outlook Namespace