Editar

Compartilhar via


getAllSessions (app profile manager)

Returns the unique identifier of all sessions.

Syntax

Microsoft.Apm.getAllSessions();

Return value

Collection of session identifiers.

Example

const sessionIds = Microsoft.Apm.getAllSessions();
sessionIds.forEach(id=> {
        console.log(id);
});