- user
- A System.Web.Security.MembershipUser object that represents the user to update and the updated information for the user.
This method is called by the System.Web.Security.Membership class to update user information for a user in the SQL Server database specified in the ASP.NET application's configuration file (Web.config). The MembershipUser.Email, MembershipUser.Comment, MembershipUser.IsApproved, MembershipUser.LastLoginDate, and MembershipUser.LastActivityDate property values are updated for the specified membership user.
The maximum length for the MembershipUser.UserName property is 256 characters. The maximum length for the MembershipUser.Email property is 256 characters.
The password for a membership user cannot be updated using the SqlMembershipProvider.UpdateUser(MembershipUser) method. To update the password for a membership user, use the MembershipUser.ChangePassword(string, string) method of the System.Web.Security.MembershipUser class.