Define "membership details". That is, what is it you want to update? If it's the configuration, then the method show by Brock works and allows updates. Brea in mind though, that changes to web.config will recycle the application, thus losing state.
Hi,
I have mentionad everything in my question. I want to update minRequiredPasswordLength, minRequiredNonalphanumericCharacters and such other details found in membership element in web.config file programmatically. So kindly tell me what is the way to update
those details programmatically and safely.
sophia_asp
Member
523 Points
484 Posts
Re: access sub elements of membership provider
Feb 28, 2012 04:37 PM|LINK
Hi,
I have mentionad everything in my question. I want to update minRequiredPasswordLength, minRequiredNonalphanumericCharacters and such other details found in membership element in web.config file programmatically. So kindly tell me what is the way to update those details programmatically and safely.
Many thanks