Function: readOwnProfile()
function readOwnProfile(context, siteUrl): Promise<{
fullName: string;
userId: number;
}>;
Defined in: core/login.ts:27
The logged-in user, read from their own profile page (user/profile.php).
Parameters
| Parameter | Type |
|---|---|
context | BrowserContext |
siteUrl | string |
Returns
Promise<{
fullName: string;
userId: number;
}>