getAllSessions (JavaScript API Reference) for Dynamics 365 Channel Integration Framework 2.0

Note

This content applies only to Dynamics 365 Channel Integration Framework version 2.0.

Note

Session management APIs allow you to integrate multisession experiences only in Omnichannel for Customer Service app.

Returns an array of session identifiers for a provider.

Syntax

Microsoft.CIFramework.getAllSessions().then(successCallback, errorCallback);

Parameters

Name Type Required Description
successCallback Function No Call when the promise is resolved
errorCallback Function No Call when the promise is rejected

Return value

Promise with the value as array of strings.