Edit

Share via


ExchangeService.GetDelegates Method

Definition

Overloads

GetDelegates(Mailbox, Boolean, IEnumerable<UserId>)

Retrieves the delegates from a specified mailbox.

GetDelegates(Mailbox, Boolean, UserId[])

Retrieves the delegates from a specified mailbox.

GetDelegates(Mailbox, Boolean, IEnumerable<UserId>)

Retrieves the delegates from a specified mailbox.

public:
 Microsoft::Exchange::WebServices::Data::DelegateInformation ^ GetDelegates(Microsoft::Exchange::WebServices::Data::Mailbox ^ mailbox, bool includePermissions, System::Collections::Generic::IEnumerable<Microsoft::Exchange::WebServices::Data::UserId ^> ^ userIds);
public Microsoft.Exchange.WebServices.Data.DelegateInformation GetDelegates (Microsoft.Exchange.WebServices.Data.Mailbox mailbox, bool includePermissions, System.Collections.Generic.IEnumerable<Microsoft.Exchange.WebServices.Data.UserId> userIds);

Parameters

mailbox
Mailbox

The mailbox from which delegates are to be retrieved.

includePermissions
Boolean

true to return detailed permissions for each delegate; otherwise, false.

userIds
IEnumerable<UserId>

The optional IDs of the delegates to be retrieved from the specified mailbox.

Returns

The delegates for the specified mailbox.

Remarks

Calling this method results in a call to Exchange Web Services (EWS).

Applies to

GetDelegates(Mailbox, Boolean, UserId[])

Retrieves the delegates from a specified mailbox.

public:
 Microsoft::Exchange::WebServices::Data::DelegateInformation ^ GetDelegates(Microsoft::Exchange::WebServices::Data::Mailbox ^ mailbox, bool includePermissions, ... cli::array <Microsoft::Exchange::WebServices::Data::UserId ^> ^ userIds);
public Microsoft.Exchange.WebServices.Data.DelegateInformation GetDelegates (Microsoft.Exchange.WebServices.Data.Mailbox mailbox, bool includePermissions, params Microsoft.Exchange.WebServices.Data.UserId[] userIds);

Parameters

mailbox
Mailbox

The mailbox from which delegates are to be retrieved.

includePermissions
Boolean

true to return detailed permissions for each delegate, otherwise, false.

userIds
UserId[]

The optional IDs of the delegates to be retrieved from the specified mailbox.

Returns

A list of delegates for the specified mailbox.

Remarks

Calling this method results in a call to Exchange Web Services (EWS).

Applies to