ExchangeService.AddDelegates method (Mailbox, Nullable<MeetingRequestsDeliveryScope>, DelegateUser[])

Adds delegates to a specific mailbox.

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

public Collection<DelegateUserResponse> AddDelegates(
	Mailbox mailbox,
	Nullable<MeetingRequestsDeliveryScope> meetingRequestsDeliveryScope,
	params DelegateUser[] delegateUsers
)

Parameters

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

The mailbox to which delegates are to be added.

meetingRequestsDeliveryScope
Type: System.Nullable<MeetingRequestsDeliveryScope>

One of the enumeration values that specifies how meeting requests should be sent to delegates.

delegateUsers
Type: []

The delegates to be added to the specified mailbox.

Return value

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

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

Show: