Edit

Share via


_ExchangeUser.GetMemberOfList Method

Definition

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

public:
 Microsoft::Office::Interop::Outlook::AddressEntries ^ GetMemberOfList();
public Microsoft.Office.Interop.Outlook.AddressEntries GetMemberOfList ();
Public Function GetMemberOfList () As AddressEntries

Returns

An AddressEntries collection object that represents the Exchange distribution lists to which the ExchangeUser belongs. Returns an AddressEntries collection object with a count of zero (0) if the ExchangeUser is not a member of any Exchange distribution list.

Remarks

GetMemberOfList is an expensive operation in terms of performance if there is a slow connection to Exchange Server.

Applies to