You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To enable or disable Forms authentication, use the following syntax:
appcmd set config /commit:WEBROOT /section:system.web/authentication /mode: None | Windows | Passport | Forms
noteNote
Passport is a supported value for the mode attribute; however, Passport authentication is not supported on Windows Vista or Windows Server 2008.
By default, IIS 7 sets the mode attribute to Windows, which disables Forms authentication. If you set the attribute to Forms, you enable Forms authentication. For example, to enable Forms authentication, type the following at the command prompt, and then press ENTER:
appcmd set config /commit:WEBROOT /section:system.web/authentication /mode:Forms
Note
When you use Appcmd.exe to configure the authentication element at the global level in IIS 7, you must specify /commit:WEBROOT in the command so that configuration changes are made to the root Web.config file instead of ApplicationHost.config.
A Forms attribute to mirror Windows as above would be need.
Would need to verify that the appropriate changes are being made to the root Web.config.
WebDirProperties containts settings for enabling/disabling authentication options: Anonymous, Basic, Digest, Passport, Windows. However FormsAuthentication option is missing.
The text was updated successfully, but these errors were encountered: