Skip to content

getUser()

getUser(uid): Promise<UserRecord>

Defined in: CloudFireAuth.ts:168

Gets the user data for the user corresponding to a given uid.

See Retrieve user data for code samples and detailed documentation.

Parameters

uid

string

The uid corresponding to the user whose data to fetch.

Returns

Promise<UserRecord>

A promise fulfilled with the user data corresponding to the provided uid.