Posts

Showing posts with the label Aspnet Retrive password C# 2.0‏

Aspnet Retrive password C# 2.0‏

Dim password As String = Membership.Provider.GetPassword(userName, String.Empty) Asp.Net Membership Password Administration The Asp.net membership provider was designed to allow for self-service password management but through an understanding of the configuration options as well as a combined use certain provider methods, web site administrators can effectively manage member passwords. This article briefly summarizes the various settings and methods which can be combined to administratively manage passwords in an Asp.Net membership system based on the default SQLMembershipProvider. The following (web.config) configuration options define how the AspNetSqlMembershipProvider behaves: enablePasswordRetrieval – Enables/disables the membership provider’s GetPassword method. Note that GetPassword will always throw an exception if the user’s password is hashed. Default value is false. Requires the password answer unless “requiresQuestionAndAnswer” in web.config is set to false. enablePasswo...