Function: whoAmI()
function whoAmI(
context,
siteUrl,
courseId?
): Promise<Me>;
Defined in: areas/site/users.ts:114
Who the logged-in person is; with courseId, also their roles and abilities in that course.
Parameters
| Parameter | Type |
|---|---|
context | BrowserContext |
siteUrl | string |
courseId? | number |
Returns
Promise<Me>