Hello people,
I have secured my website using Web.Config (authentication mode Forms)
Now I want to create an Admin area where administrator can edit the password.
But how do I retreave password from Web.Config?
Want the password to be displayed in TextBox.
Have found this:
Dim configuration As Configuration = System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration("~")
Dim appSettingsSection As AppSettingsSection = DirectCast(configuration.GetSection("appSettings"), AppSettingsSection)
Dim systemWeb As SystemWebSectionGroup = DirectCast(configuration.GetSectionGroup("system.web"), SystemWebSectionGroup)
Dim authenticationsection As AuthenticationSection = DirectCast(systemWeb.Sections("authentication"), AuthenticationSection)
authenticationsection.Forms.Credentials.Users.??????
Thanks.
Danny Schouren
...
Go to the complete details ...