Reports API Methods
getSelectedUsers()
This is a premium feature and may not be included in your product license. For more information, reach out to your Learnosity Customer Success Manager.
Returns all user_id values for the currently selected users in the live progress report.
You would want to use this to perform additional actions such as extracting data for more information on the selected users, for example.
Examples
var selectedUsers = reportsApp.getReport('my-live-progress-report-id').getSelectedUsers();
console.log(selectedUsers);
Arguments
None.
Return value
Type array[string]
An array of user_id strings for the currently selected users