Anyone has a clue how to turn off forms authentication using Microsoft.Web.Administration and C#?
-
Not sure with Microsoft.Web.Administration but you can do it command line and run it with Process.Start: appcmd set config /commit:WEBROOT /section:system.web/authentication /mode:WindowsPCurd– PCurd2011-04-08 11:52:41 +00:00Commented Apr 8, 2011 at 11:52
-
I don't need to turn on windows auth, I need to turn off forms auth.Bogdan Verbenets– Bogdan Verbenets2011-04-08 15:00:36 +00:00Commented Apr 8, 2011 at 15:00
-
true, but it has the same side effect :) I hope someone can give you a proper answer.PCurd– PCurd2011-04-11 10:13:15 +00:00Commented Apr 11, 2011 at 10:13
-
@PCurd, when I turn on windows auth, then the forms auth still stays turned on.Bogdan Verbenets– Bogdan Verbenets2011-04-11 10:58:00 +00:00Commented Apr 11, 2011 at 10:58
Add a comment
|