UserImportResult interface

Interface representing the response from theBaseAuth.importUsers() method for batch importing users to Firebase Auth.

Signature:

exportinterfaceUserImportResult

Properties

PropertyTypeDescription
errorsFirebaseArrayIndexError[]An array of errors corresponding to the provided users to import. The length of this array is equal to [failureCount](#failureCount).
failureCountnumberThe number of user records that failed to import to Firebase Auth.
successCountnumberThe number of user records that successfully imported to Firebase Auth.

UserImportResult.errors

An array of errors corresponding to the provided users to import. The length of this array is equal to [failureCount](#failureCount).

Signature:

errors:FirebaseArrayIndexError[];

UserImportResult.failureCount

The number of user records that failed to import to Firebase Auth.

Signature:

failureCount:number;

UserImportResult.successCount

The number of user records that successfully imported to Firebase Auth.

Signature:

successCount:number;

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2022-07-29 UTC.