Saltar al contenido principal

Function: participantFilters()

function participantFilters(
context,
siteUrl,
courseId
): Promise<{
groups: object[];
roles: object[];
}>;

Defined in: areas/participants/participants.ts:116

The roles and groups the participants page filters by in a course (its filters' options), as the person may use them: every group, or only their own in a course with separate groups. "No roles" and "no group" left out.

Parameters​

ParameterType
contextBrowserContext
siteUrlstring
courseIdnumber

Returns​

Promise<{ groups: object[]; roles: object[]; }>