UserImportResult interface
Stay organized with collections
Save and categorize content based on your preferences.
Interface representing the response from the BaseAuth.importUsers() method for batch importing users to Firebase Auth.
Signature:
export interface UserImportResult
Properties
Property |
Type |
Description |
errors |
FirebaseArrayIndexError[] |
An array of errors corresponding to the provided users to import. The length of this array is equal to [failureCount ](#failureCount). |
failureCount |
number |
The number of user records that failed to import to Firebase Auth. |
successCount |
number |
The 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 the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-07-29 UTC.
[null,null,["Last updated 2022-07-29 UTC."],[],[],null,["Interface representing the response from the [BaseAuth.importUsers()](./firebase-admin.auth.baseauth.md#baseauthimportusers) method for batch importing users to Firebase Auth.\n\n**Signature:** \n\n export interface UserImportResult \n\nProperties\n\nUserImportResult.errors\n\nAn array of errors corresponding to the provided users to import. The length of this array is equal to \\[`failureCount`\\](#failureCount).\n\n**Signature:** \n\n errors: FirebaseArrayIndexError[];\n\nUserImportResult.failureCount\n\nThe number of user records that failed to import to Firebase Auth.\n\n**Signature:** \n\n failureCount: number;\n\nUserImportResult.successCount\n\nThe number of user records that successfully imported to Firebase Auth.\n\n**Signature:** \n\n successCount: number;"]]