Share via


_ExchangeUser.GetDirectReports Method

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

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
<DispIdAttribute()> _
Function GetDirectReports As AddressEntries
'Usage
Dim instance As _ExchangeUser
Dim returnValue As AddressEntries

returnValue = instance.GetDirectReports()
[DispIdAttribute()]
AddressEntries GetDirectReports()

Return Value

Type: Microsoft.Office.Interop.Outlook.AddressEntries
An AddressEntries collection object that contains the users directly reporting to the Exchange user. The AddressEntries object will have a count of zero (0) if there is no direct report represented by an AddressEntry in the current session, or if direct reports have not been implemented in the Exchange directory.

Remarks

GetDirectReports is an expensive operation in terms of performance if there is a slow connection to the Exchange server.

See Also

Reference

_ExchangeUser Interface

_ExchangeUser Members

Microsoft.Office.Interop.Outlook Namespace

Other Resources

How to: Get Information About Direct Reports of the Current User's Manager