butlerpax.blogg.se

Web service api vba
Web service api vba




Note: To get the email address of current user you might use .Current.EmailAddress. 'Seems that user does not work on Exchange 2007 SP1 or later? ' Microsoft recommends to use AutoDiscoverUrl to ensure that always the best endpoint for the given user is used.Ĭatch ex As .AutodiscoverLocalException Service = New .ExchangeService(.ExchangeVersion.Exchange2007_SP1) įriend Shared Function GetService(emailAddress As String) As .ExchangeServiceĭim Service As .ExchangeService = Nothing ''' Email Address for which the Appointments should be retrieved If the user is not connected to Exchange SP1 or later, nothing is returned. The following Function establishes the connection to the service. Add reference to file within your project as described at Get Access to the service: Install Microsoft Exchange Web Services Managed API 2.0 on your developer client, available at Ģ. So here are some details which might help you if you want to use Microsofts Exchange Webservices: Prerequisites:ġ. IMAP where you always have to supply your windows password. That’s convenient for the user, compared to e.g. If the user is already logged in using Windows Credentials and these are passed in the browser, no additionall login is required. If you use Microsoft Exchange 2007 SP1 or later you use Microsoft Exchange WebServices (aka EWS) to access users data, e.g.






Web service api vba