AuthFlags

This single property contains the settings for the Windows authentication schemes that will be returned to clients as being available.

This single property contains the following file access authentication flags:

Authanonymous
AuthBasic
AuthNTLM

Data type Long
Default value AuthAnonymous = TRUE
Inheritance Inheritable

Access Locations

This property is accessible at the following locations:

Metabase Path Key Type
/LM/W3SVC IIsWebService
/LM/W3SVC/N IIsWebServer
/LM/W3SVC/N/ROOT IIsWebVirtualDir
/LM/W3SVC/N/ROOT/WebVirtualDir IIsWebVirtualDir
/LM/W3SVC/N/ROOT/WebVirtualDir/WebDirectory IIsWebDirectory
/LM/W3SVC/N/ROOT/WebVirtualDir/WebDirectory/WebFile IIsWebFile

IIS Admin Base Object Information

The following tables list additional information required only for code that uses the IIS Admin Base Object.

Metabase identifier MD_AUTHORIZATION
User type IIS_MD_UT_FILE
Default bitmask setting MD_AUTH_ANONYMOUS

Bitmask Values
Constant Value Description
MD_AUTH_ANONYMOUS 0x00000001 Anonymous authentication available.
MD_AUTH_BASIC 0x00000002 Basic authentication available.
MD_AUTH_NT 0x00000004 Windows authentication schemes available.