| java.lang.Object | |
| ↳ | com.google.firebase.auth.UserRecord |
Contains metadata associated with a Firebase user account. Instances of this class are immutable and thread safe.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| class | UserRecord.CreateRequest | A specification class for creating new user accounts. | |||||||||
| class | UserRecord.UpdateRequest | A class for updating the attributes of an existing user. | |||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String |
getDisplayName()
Returns the display name of this user.
| ||||||||||
| String |
getEmail()
Returns the email address associated with this user.
| ||||||||||
| String |
getPhotoUrl()
Returns the photo URL of this user.
| ||||||||||
| UserInfo[] |
getProviderData()
Returns an array of UserInfo objects that represents the identities from different identity
providers that are linked to this user.
| ||||||||||
| String |
getProviderId()
Returns the provider ID of this user.
| ||||||||||
| String |
getUid()
Returns the user ID of this user.
| ||||||||||
| UserMetadata |
getUserMetadata()
Returns additional metadata associated with this user.
| ||||||||||
| boolean |
isDisabled()
Returns whether this user account is disabled.
| ||||||||||
| boolean |
isEmailVerified()
Returns whether the email address of this user has been verified.
| ||||||||||
| UserRecord.UpdateRequest |
updateRequest()
Returns a new
UserRecord.UpdateRequest, which can be used to update the attributes
of this user. | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.google.firebase.auth.UserInfo
| |||||||||||
Returns the display name of this user.
Returns the email address associated with this user.
Returns the photo URL of this user.
Returns an array of UserInfo objects that represents the identities from different identity providers that are linked to this user.
UserInfo instances, which may be empty.
Returns the provider ID of this user.
Returns the user ID of this user.
Returns additional metadata associated with this user.
Returns whether this user account is disabled.
Returns whether the email address of this user has been verified.
Returns a new UserRecord.UpdateRequest, which can be used to update the attributes
of this user.