Custom MembershipCreateStatus message
Posted on 2007-11-15
I have created a custom MembershipProvider class.
In it, I am checking:
' check if application requires a unique email and if the email already exists...
If RequiresUniqueEmail AndAlso GetUserNameByEmail(email) <> "" Then
status = MembershipCreateStatus.DuplicateEmail
Instead of having it print to the screen the default message that the email already exists, I want to send my own custom message instead. How do I override the message for the MembershipCreateStatus.DuplicateEmail?