Skip to content

getUsers() ​

getUsers(identifiers): Promise<GetUsersResult>

Defined in: CloudFireAuth.ts:242

Gets the user data corresponding to the specified identifiers.

There are no ordering guarantees; in particular, the nth entry in the result list is not guaranteed to correspond to the nth entry in the input parameters list.

Only a maximum of 100 identifiers may be supplied. If more than 100 identifiers are supplied, this method throws a FirebaseAuthError.

Parameters ​

identifiers ​

UserIdentifier[]

The identifiers used to indicate which user records should be returned. Must not have more than 100 entries.

Returns ​

Promise<GetUsersResult>

A promise that resolves to the corresponding user records.

Throws ​

FirebaseAuthError If any of the identifiers are invalid or if more than 100 identifiers are specified.