Author: spook_man | Posted on: 7/14/2009 8:12:03 PM | Views : 321

Hello.. I'm designing a webpage which the Administrator will be the one creating the user accounts.
One issue which I'm having is e-mailing the user the security answer so they have it and can change it after verifying their e-mail account, logging in, etc.  The "passwordanswer" string is what I'm looking for and trying to include in the e-mail.
Any help would greatly be appreciated. Thanks.. -Jeff
Protected Sub RegisterUser_SendingMail(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.MailMessageEventArgs) Handles RegisterUser.SendingMail
        Dim newUser As MembershipUser = Membership.GetUser(RegisterUser.UserName)
        Dim newUserId As Guid = CType(newUser.ProviderUserKey, Guid)

        Dim urlBase As String = Request.Url.GetLeftPart(UriPartial.Authority) & Request.Appli ...

Go to the complete details ...