<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : reset a users password when using ASP.net membership</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : reset a users password when using ASP.net membership</description>
  <pubDate>Wed, 19 Jun 2013 14:51:43 -700</pubDate>
  <lastBuildDate>Mon, 06 Sep 2010 15:30:51 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=2123</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>reset a users password when using ASP.net membership : So, the way I did it is in now...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2123&amp;PID=8374#8374</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=90" rel="nofollow">DataMan</a><br /><strong>Subject:</strong> 2123<br /><strong>Posted:</strong> 06-Sep-2010 at 3:30pm<br /><br />So,&nbsp; the way I did it is in now way the correct way but&nbsp;hey,&nbsp; gets the job done.<DIV></DIV><DIV>&nbsp;</DIV><DIV>For others who are starting out I simply copied the code from the completed registration code section into a new section which then creates a new entity and then saves .&nbsp; Like above the passowrd tells the createuser logic&nbsp;to reset the password instead of creating a new user.</DIV><DIV>&nbsp;</DIV><DIV>I am so new to WPF and Silverlight that I couldn't figure out how to easily load and update the user in the UpdateUser logic so I didn't bother.</DIV><DIV><BR>I couldn't find an easy sample on how to load and update a record in a silverlight&nbsp;entity manager.&nbsp; And&nbsp;the userinformation really isn't an entity so with the short time I had,&nbsp;I couldn't figure out how that would work.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 06 Sep 2010 15:30:51 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2123&amp;PID=8374#8374</guid>
  </item> 
  <item>
   <title>reset a users password when using ASP.net membership : Using POCO as you&amp;#039;ve described...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2123&amp;PID=8346#8346</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 2123<br /><strong>Posted:</strong> 03-Sep-2010 at 11:19am<br /><br />Using POCO as you've described is a good way to update user information; you could stick a dummy password or tag into the UserInformation to indicate the processing needed on the server in the UpdateUser logic.&nbsp; As you probably know we keep promising to have product changes and guidance for ASP.NET user registration, but this is still forthcoming as of version 6.0.5.0, so the POCO approach as shown in the sample application is still valid.]]>
   </description>
   <pubDate>Fri, 03 Sep 2010 11:19:45 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2123&amp;PID=8346#8346</guid>
  </item> 
  <item>
   <title>reset a users password when using ASP.net membership : Hi there...  I am trying to...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2123&amp;PID=8343#8343</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=90" rel="nofollow">DataMan</a><br /><strong>Subject:</strong> 2123<br /><strong>Posted:</strong> 03-Sep-2010 at 10:50am<br /><br /><DIV></DIV>Hi there...<DIV>&nbsp;</DIV><DIV>I am trying to take your example of the ASP.net membership for silverlight and add on a stack panel that allows the user to reset their password.&nbsp; When they enter their username I want it to run the </DIV><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas><P></FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>string</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> mNewPassword = </FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>Membership</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>.Provider.ResetPassword(UserName, </FONT></FONT><FONT color=#a31515 size=2 face=C&#111;nsolas><FONT color=#a31515 size=2 face=C&#111;nsolas><FONT color=#a31515 size=2 face=C&#111;nsolas>"Dummy"</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>);</P><DIV></DIV><DIV>and then use the smtp.Send to send their password to them.</DIV><DIV>&nbsp;</DIV><DIV>Problem is that the Membership exists in the web code and when i try to add it to the silverlight app, of course it doesn't like it because System.Web.Security isn't a reference in the silverlight application.</DIV><DIV>&nbsp;</DIV><DIV>I was thinking of using the POCO and update the user somewhow which will then run the UserRegistrationProvider you have and then in the UpdateUser I will execute the ResetPassword code.</DIV><DIV>&nbsp;</DIV><DIV>I'm wondering if there is a better way of doing this?</DIV><DIV>&nbsp;</DIV><DIV>Thanks</DIV><DIV></FONT></FONT>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 03 Sep 2010 10:50:08 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2123&amp;PID=8343#8343</guid>
  </item> 
 </channel>
</rss>