/// <summary> /// Updates e-mail and potentially approved status, lock status and comment on a user. /// Note: To automatically support lock, approve and comments you'll need to add references to the membertype properties in the /// 'Member' element in web.config by adding their aliases to the 'umbracoApprovePropertyTypeAlias', 'umbracoLockPropertyTypeAlias' and 'umbracoCommentPropertyTypeAlias' attributes /// </summary> /// <param name="user">A <see cref="T:System.Web.Security.MembershipUser"></see> object that represents the user to update and the updated information for the user.</param> public override void UpdateUser(MembershipUser user) { var member = user.AsIMember(); MemberService.Save(member); }