ExchangeService.RemoveDelegates method (Mailbox, UserId[])

Removes delegates from a specified mailbox. Calling this method results in a call to Exchange Web Services (EWS).

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

public Collection<DelegateUserResponse> RemoveDelegates(
	Mailbox mailbox,
	params UserId[] userIds
)

Parameters

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

The mailbox from which the delegates are to be removed.

userIds
Type: []

The IDs of the delegates to be removed from the specified mailbox.

Return value

Type: System.Collections.ObjectModel.Collection<DelegateUserResponse>
A collection of objects that provides the results of the operation.
Show: