ExchangeService.GetDelegates method (Mailbox, Boolean, IEnumerable<UserId>)
EWS Managed API
Retrieves the delegates from a specified mailbox.
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.DelegateInformationThe delegates for the specified mailbox.