Partager via


LogonMethod

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 the Help that comes with IIS Manager.

Schema Attributes

Attribute Name

Value

ADSI/WMI Data Type

DWORD

ABO Data Type

DWORD_METADATA

Schema Default

3

Internal Default

Not specified.

Upper Bound

3

Lower Bound

Not specified

Internal ID

6013

Friendly ID

MD_LOGON_METHOD

Property Attributes

INHERIT

User Type

IIS_MD_UT_FILE

Configurable Locations

You can configure this property at the following locations in the IIS metabase.

Metabase Path

IIS Admin Object Type

/LM/W3SVC

IIsWebService

/LM/W3SVC/n

IIsWebServer

/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/n/ROOT

/LM/W3SVC/n/ROOT/virtual_directory_name

IIsWebVirtualDir

/LM/W3SVC/AppPools/application_pool_name

IIsApplicationPool

/LM/W3SVC/AppPools

IIsApplicationPools

Flags

There are no flags for this property.

Requirements

Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.

Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.

Product: IIS

See Also