### NetLogonWorkstation

This property indicates the criteria that will be used by the domain controller for domain logon restrictions from computers running Windows XP Professional. If NetLogonWorkstation is set to a value of 0, logon restrictions are based on domain and the Windows Professional client information. If NetLogonWorkstation is set to a value of 1, logon restrictions are based on the client's IP address. And if NetLogonWorkstation is set to a value of 2, logon restrictions are based on the client's DNS name.

Data type | Long
Default value | 0 (Windows 2000 Professional and later restrictions only)
Inheritance | Inheritable

###### Access Locations

This property is accessible at the following locations:

Metabase Path | Key Type
/LM/W3SVC | IIsWebService
/LM/W3SVC/N | IIsWebServer

###### 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_NET_LOGON_WKS
Default bitmask setting | MD_NETLOGON_WKS_NONE
User type | IIS_MD_UT_SERVER

###### Bitmask values

Constant | Value | Description
MD_NETLOGON_WKS_NONE | 0x00000000 | Windows 2000 and later Professional restrictions only.
MD_NETLOGON_WKS_IP | 0x00000001 | Restrictions based on IP address.
MD_NETLOGON_WKS_DNS | 0x00000002 | Restrictions based on DNS host name.

© 1997-2001 Microsoft Corporation. All rights reserved.