Export (0) Print
Expand All

ExchangeService.GetDelegates method (Mailbox, Boolean, IEnumerable<UserId>)

EWS Managed API

Retrieves the delegates from a specified mailbox.

Namespace:  Microsoft.Exchange.WebServices.Data
Assembly:  Microsoft.Exchange.WebServices (in Microsoft.Exchange.WebServices.dll)

public DelegateInformation GetDelegates(
	Mailbox mailbox,
	bool includePermissions,
	IEnumerable<UserId> userIds
)

Parameters

mailbox
Type: Microsoft.Exchange.WebServices.Data.Mailbox

The mailbox from which delegates are to be retrieved.

includePermissions
Type: System.Boolean

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

userIds
Type: System.Collections.Generic.IEnumerable<UserId>

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

Return value

Type: Microsoft.Exchange.WebServices.Data.DelegateInformation
The delegates for the specified mailbox.

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

Show:
© 2014 Microsoft