1

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?

splattne
  • 28,348
  • 19
  • 97
  • 147

1 Answers1

0

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.

splattne
  • 28,348
  • 19
  • 97
  • 147