I need to get the authentication provider status of a web application available in IIS through C# or Python code.
Example: Is Basic Authentication available for X site?
I need to get the authentication provider status of a web application available in IIS through C# or Python code.
Example: Is Basic Authentication available for X site?
If you're using C# (.NET), you could search the Microsoft.Web.Administration namespace.
The LogonMethod property of the VirtualDirectory class should contain that information. Here's a code example.