Web.Config Authentication Mode
ASP.NET
3
Posts
2
Posters
0
Views
1
Watching
-
Hello, Does anyone know of a way to set the below authenication mode programatically? Thank you for the help. RB
-
Hello, Does anyone know of a way to set the below authenication mode programatically? Thank you for the help. RB
-
Hello, Does anyone know of a way to set the below authenication mode programatically? Thank you for the help. RB
If you are using .net 2.0 you could do:
// Get the Web application configuration.
System.Configuration.Configuration configuration =
System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration(
"/aspnetTest");// Get the section.
AuthenticationSection authenticationSection =
(AuthenticationSection)configuration.GetSection(
"system.web/authentication");Ben