Saltar al contenido principal

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​

ParameterType
contextBrowserContext
siteUrlstring
courseId?number

Returns​

Promise<Me>