getSelectedUsers - Methods - Reports API

Reports API Methods

getSelectedUsers()

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

Was this article helpful?

Did you arrive here by accident? If so, learn more about Learnosity.