The LogonMethod property contains an integer that specifies the logon method for cleartext logons. Valid settings are:
| • | 0 for interactive logon (defined in iiscnfg.h as MD_LOGON_INTERACTIVE). |
| • | 1 for batch logon (defined in iiscnfg.h as MD_LOGON_BATCH). |
| • | 2 for network logon (defined in iiscnfg.h as MD_LOGON_NETWORK). |
| • | 3 for cleartext logon (defined in iiscnfg.h as MD_LOGON_NETWORK_CLEARTEXT). |
For more information about logon methods, see UNC Authentication in IIS 6.0.
| Attribute Name | Attribute Value |
XML Data Type | DWORD |
WMI Data Type | SINT32 |
ADSI Data Type | DWORD |
ABO Data Type | DWORD |
ABO Metabase Identifier | MD_LOGON_METHOD |
Attributes | INHERIT |
Default Value | 3 |
MetaFlagsEx | CACHE_PROPERTY_MODIFIED |
User Type | IIS_MD_UT_FILE |
ID | 6013 |
You can configure this property at the following locations in the IIS metabase.
| Metabase Path | IIS Admin Object Type |
/LM/W3SVC/n/ROOT /LM/W3SVC/n/ROOT/virtual_directory_name | IIsWebVirtualDir |
/LM/W3SVC/n | IIsWebServer |
/LM/W3SVC | IIsWebService |
/LM/W3SVC/n/ROOT/file_name /LM/W3SVC/n/ROOT/virtual_directory_name/file_name | IIsWebFile |
/LM/W3SVC/n/ROOT/physical_directory_name /LM/W3SVC/n/virtual_directory_name/physical_directory_name | IIsWebDirectory |
/LM/W3SVC/AppPools/DefaultAppPool /LM/W3SVC/AppPools/DefaultAppPool/application_pool_name | IIsApplicationPool |
/LM/W3SVC/AppPools | IIsApplicationPools |
For general code examples, see Code Examples to Configure Metabase Properties.