sp core library.session - microsoft/Viva-Connections-Extensibility-Beta GitHub Wiki

Home > @microsoft/sp-core-library > Session

Session class

Provides access to the application's browser session and active page.

Signature:

export default class Session

Properties

Property Modifiers Type Description
applicationId static Guid A unique identifier for the current instance of the client-side application.
clientSideApplicationId static string The id of the currently running application
pageId static Guid A unique identifier for the current page within the client-side application.
⚠️ **GitHub.com Fallback** ⚠️