Function: courseRoles()
function courseRoles(
context,
siteUrl,
userId,
courseId
): Promise<object[]>;
Defined in: areas/site/users.ts:61
A user's roles in a course, from their profile there: role links carry the role id in any language.
Parameters
| Parameter | Type |
|---|---|
context | BrowserContext |
siteUrl | string |
userId | number |
courseId | number |
Returns
Promise<object[]>