Ir a la consola

UserRecord.UpdateRequest

public static class UserRecord.UpdateRequest extends Object

A class for updating the attributes of an existing user. An instance of this class can be obtained via a UserRecord object, or from a user ID string. Specify the changes to be made in the user account by calling the various setter methods available in this class.

Public Constructor Summary

UpdateRequest(String uid)
Creates a new UserRecord.UpdateRequest, which can be used to update the attributes of the user identified by the specified user ID.

Public Method Summary

UserRecord.UpdateRequest
setCustomClaims(Map<String, Object> customClaims)
Updates the custom claims associated with this user.
UserRecord.UpdateRequest
setDisabled(boolean disabled)
Enables or disables this user account.
UserRecord.UpdateRequest
setDisplayName(String displayName)
Updates the display name of this user.
UserRecord.UpdateRequest
setEmail(String email)
Updates the email address associated with this user.
UserRecord.UpdateRequest
setEmailVerified(boolean emailVerified)
Updates the email verification status of this account.
UserRecord.UpdateRequest
setPassword(String password)
Updates the password of this user.
UserRecord.UpdateRequest
setPhoneNumber(String phone)
Updates the phone number associated with this user.
UserRecord.UpdateRequest
setPhotoUrl(String photoUrl)
Updates the Photo URL of this user.

Inherited Method Summary