Codeunit 5320 Exchange Web Services Client

Base Application, System.Integration

Source AL, 383 lines

src/Layers/W1/BaseApp/System/Exchange/ExchangeWebServicesClient.Codeunit.allines 7 to 22 of 383, Copyright (c) Microsoft Corporation. MIT

codeunit 5320 "Exchange Web Services Client"{    trigger OnRun()    begin    end;    var        TempExchangeFolder: Record "Exchange Folder" temporary;        [RunOnClient]        ServiceOnClient: DotNet ExchangeServiceWrapper;        ConnectionFailedErr: Label 'Connection to the Exchange server failed.';        LongPathsOmittedMsg: Label 'Folders with a path that exceeds 250 characters have been omitted.';        ServiceOnServer: DotNet ExchangeServiceWrapper;        LongPathsDetected: Boolean;        CategoryTxt: Label 'AL EWS Client', Locked = true;

All 383 lines

Public procedures 9 in 29

GetPublicFolders(var ExchangeFolder: Record "Exchange Folder"): Boolean17-29
InitializeOnClient(AutodiscoveryEmail: Text[250]; ServiceUri: Text): Boolean17-29
InitializeOnServer(AutodiscoveryEmail: Text[250]; ServiceUri: Text; Credentials: DotNet NetworkCredential): Boolean17-29
InitializeOnServerWithImpersonation(AutodiscoveryEmail: Text[250]; ServiceUri: Text; Credentials: DotNet OAuthCredentials): Boolean17-29
FolderExists(UniqueID: Text): Boolean17-29
ReadBuffer(var DestExchangeFolder: Record "Exchange Folder"): Boolean17-29

All 9 procedures