- user
- A System.Web.Security.MembershipUser instance representing 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 in the Active Directory data store. The MembershipUser.Email, MembershipUser.Comment, and MembershipUser.IsApproved property values are updated for the specified membership user. All other properties are ignored.
The maximum length for the username parameter 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 ActiveDirectoryMembershipProvider.UpdateUser(MembershipUser) method. To update the password for a membership user, use the ActiveDirectoryMembershipProvider.ChangePassword(string, string, string) method.
The provider uses a subtree search starting at the search point specified in the connection string. See the System.Web.Security.ActiveDirectoryMembershipProvider class topic for more information about connection strings.