Partager via


AnonymousUserName Metabase Property

Applies To: Windows Server 2003, Windows Server 2003 with SP1

The AnonymousUserName property specifies the name of the registered local user that is used to authenticate anonymous users. The server associates a user name and password with every server action.

AnonymousUserName must be in the domain\user format.

Attribute Name Attribute Value

XML Data Type

String

WMI Data Type

String

ADSI Data Type

String

ABO Data Type

String

ABO Metabase Identifier

MD_ANONYMOUS_USER_NAME

Attributes

INHERIT

Default Value

null

MetaFlagsEx

CACHE_PROPERTY_MODIFIED

User Type

IIS_MD_UT_ FILE

ID

6020

Configurable Locations

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

IIsFtpServer

/LM/W3SVC

IIsWebService

/LM/MSFTPSVC

IIsFtpService

/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/NNTPSVC

IIsNntpService

/LM/NNTPSVC/n

IIsNntpServer

/LM/SMTPSVC

IIsSmtpService

/LM/SMTPSVC/n

/LM/SMTPSVC/n

Code Example

For general code examples, see Code Examples to Configure Metabase Properties.