Stay organized with collections
Save and categorize content based on your preferences.
#include <user.h>
Metadata corresponding to a Firebase user.
Summary
Public attributes
Public functions
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 2024-01-23 UTC.
[null,null,["Last updated 2024-01-23 UTC."],[],[],null,["# firebase::auth::UserMetadata Struct Reference\n\nfirebase::auth::UserMetadata\n============================\n\n\n`#include \u003cuser.h\u003e`\n\nMetadata corresponding to a Firebase user.\n\nSummary\n-------\n\n| ### Constructors and Destructors ||\n|---|---|\n| [UserMetadata](#structfirebase_1_1auth_1_1_user_metadata_1abf4043dec3b4eaa0a3dd7a2c52f8450b)`()` ||\n\n| ### Public attributes ||\n|--------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------|\n| [creation_timestamp](#structfirebase_1_1auth_1_1_user_metadata_1a6544df83c8968cfc198a97e7f81460ad) | `uint64_t` The Firebase user creation UTC timestamp in milliseconds. |\n| [last_sign_in_timestamp](#structfirebase_1_1auth_1_1_user_metadata_1a8521038f82702936eb4a3bb1853e112b) | `uint64_t` The last sign in UTC timestamp in milliseconds. |\n\nPublic attributes\n-----------------\n\n### creation_timestamp\n\n```c++\nuint64_t firebase::auth::UserMetadata::creation_timestamp\n``` \nThe Firebase user creation UTC timestamp in milliseconds. \n\n### last_sign_in_timestamp\n\n```c++\nuint64_t firebase::auth::UserMetadata::last_sign_in_timestamp\n``` \nThe last sign in UTC timestamp in milliseconds.\n\nSee \u003chttps://en.wikipedia.org/wiki/Unix_time\u003e for details of UTC.\n\nPublic functions\n----------------\n\n### UserMetadata\n\n```c++\n firebase::auth::UserMetadata::UserMetadata()\n```"]]