Updates the password question and answer for the membership user in the Visual Guard repository
true if the update was successful; otherwise, false.
Exception Type | Condition |
---|---|
ArgumentNullException | username is null or password is nullor newPasswordQuestion is null and the RequiresQuestionAndAnswer is set to true.or newPasswordAnswer is null and newPasswordQuestion is not null or empty. |
ArgumentException | username is empty or longer than 64 characters. or password or newPasswordAnswer is longer than 64 characters.or newPasswordQuestion is empty or longer than 256 characters or newPasswordQuestion is empty or null and the repository property "Requires Question And Answer" is set to true. |
VGMemberShipProvider Class | Novalys.VisualGuard.Security.WebForm Namespace