C# Class Hummingbird.Core.ExchangeConnector

Show file Open project: Microsoft/hummingbird Class Usage Examples

Public Methods

Method Description
GetExternalDistributionListOwner ( string dl, UserCredentials credentials, bool &isValidDl ) : string

Get the owner of an external distribution list.

PerformExchangeRequest ( UserCredentials credentials, string exchangeUrl, string param, ExchangeRequestType requestType, IEnumerable additionalParam = null ) : IExchangeResponse

Core method for performing EWS calls against the Exchange service.

Private Methods

Method Description
GetBasicAuthFormat ( UserCredentials credentials ) : string

Gets the concatenated username:password string required for the REST request.

Method Details

GetExternalDistributionListOwner() public method

Get the owner of an external distribution list.
public GetExternalDistributionListOwner ( string dl, UserCredentials credentials, bool &isValidDl ) : string
dl string Distribution list name (alias) without the domain.
credentials Hummingbird.Models.UserCredentials User credentials for service access.
isValidDl bool Indicates if there exists a DL with the alias.
return string

PerformExchangeRequest() public method

Core method for performing EWS calls against the Exchange service.
public PerformExchangeRequest ( UserCredentials credentials, string exchangeUrl, string param, ExchangeRequestType requestType, IEnumerable additionalParam = null ) : IExchangeResponse
credentials Hummingbird.Models.UserCredentials User credentials.
exchangeUrl string URL to the EWS endpoint.
param string Additional parameters that work with the specific request.
requestType ExchangeRequestType Type of the EWS request.
additionalParam IEnumerable List of additional parameters needed for a request.
return IExchangeResponse