[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2021-04-28 UTC."],[],[],null,["# UserInfo\n\npublic interface **UserInfo** \n\n|---|---|---|\n| Known Indirect Subclasses [ExportedUserRecord](/docs/reference/admin/java/reference/com/google/firebase/auth/ExportedUserRecord), [UserRecord](/docs/reference/admin/java/reference/com/google/firebase/auth/UserRecord) |--------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------| | [ExportedUserRecord](/docs/reference/admin/java/reference/com/google/firebase/auth/ExportedUserRecord) | Contains metadata associated with a Firebase user account, along with password hash and salt. | | [UserRecord](/docs/reference/admin/java/reference/com/google/firebase/auth/UserRecord) | Contains metadata associated with a Firebase user account. | |||\n\nA collection of standard profile information for a user. Used to expose profile information\nreturned by an identity provider. \n\n### Public Method Summary\n\n|-----------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| abstract String | [getDisplayName](/docs/reference/admin/java/reference/com/google/firebase/auth/UserInfo#getDisplayName())() Returns the user's display name, if available. |\n| abstract String | [getEmail](/docs/reference/admin/java/reference/com/google/firebase/auth/UserInfo#getEmail())() Returns the user's email address, if available. |\n| abstract String | [getPhoneNumber](/docs/reference/admin/java/reference/com/google/firebase/auth/UserInfo#getPhoneNumber())() Returns the user's phone number, if available. |\n| abstract String | [getPhotoUrl](/docs/reference/admin/java/reference/com/google/firebase/auth/UserInfo#getPhotoUrl())() Returns the user's photo URL, if available. |\n| abstract String | [getProviderId](/docs/reference/admin/java/reference/com/google/firebase/auth/UserInfo#getProviderId())() Returns the ID of the identity provider. |\n| abstract String | [getUid](/docs/reference/admin/java/reference/com/google/firebase/auth/UserInfo#getUid())() Returns the user's unique ID assigned by the identity provider. |\n\nPublic Methods\n--------------\n\n#### public abstract String\n**getDisplayName**\n()\n\nReturns the user's display name, if available. \n\n##### Returns\n\n- a display name string or null. \n\n#### public abstract String\n**getEmail**\n()\n\nReturns the user's email address, if available. \n\n##### Returns\n\n- an email address string or null. \n\n#### public abstract String\n**getPhoneNumber**\n()\n\nReturns the user's phone number, if available. \n\n##### Returns\n\n- a phone number string or null. \n\n#### public abstract String\n**getPhotoUrl**\n()\n\nReturns the user's photo URL, if available. \n\n##### Returns\n\n- a URL string or null. \n\n#### public abstract String\n**getProviderId**\n()\n\nReturns the ID of the identity provider. This can be a short domain name (e.g. google.com) or\nthe identifier of an OpenID identity provider. \n\n##### Returns\n\n- an ID string that uniquely identifies the identity provider. \n\n#### public abstract String\n**getUid**\n()\n\nReturns the user's unique ID assigned by the identity provider. \n\n##### Returns\n\n- a user ID string."]]