Actually what I wanted to do is to control the length of the new password that generated by ResetPassword() function of MembershipUser class. After googling once, I found this article that posted on Stackoverflow.com is really help me. user.ChangePassword(user.ResetPassword(), MyMethodToGenerateRandomPassword()); That blocks of code inspire me to write mine. string newPassword = u.ResetPassword(); string newShorterPassword…
From the category archives:
C#
Partial Class C#.NET From Partial Class Definitions at MSDN, it is possible to split the definition of a class or a struct, or an interface over two or more source files. Each source file contains a section of the class definition, and all parts are combined when the application is compiled. There are several situations…
Hi, I am Ganda Manurung. I am a software developer, enterpreneur, and also an ameteur photographer.