Realm

This property specifies the realm when the server requests that a client authenticate itself because the client was denied access to a resource when using Basic (clear-text) authentication. This value appears in the browser's user name–password prompt.

Data type String
Default value Empty string
Inheritance Inheritable

Access Locations

This property is accessible at the following locations:

Metabase Path Key Type
/LM/MSFTPSVC/N IIsFtpServer
/LM/MSFTPSVC IIsFtpService
/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 table lists additional information required only for code that uses the IIS Admin Base Object.

Metabase identifier MD_REALM
User type IIS_MD_UT_FILE