Compartir a través de


UNCUserName

The UNCUserName property specifies the user name for Universal Naming Convention (UNC) virtual roots. Use this property only as a flag for authentication schemes that support delegation.

Note

Integrated Windows authentication (NTLM) does not support delegation.

When a request comes in to the IIS server, IIS looks at the UNCUserName property on the virtual directory. If the property exists and it is not an empty string, then the UNC user name and password are used for authentication. If authentication fails, a 401.2 error is returned to the client. If authentication passes, then the client's original credentials are passed through to the resources that were requested.

Schema Attributes

Attribute Name

Value

ADSI/WMI Data Type

STRING

ABO Data Type

STRING_METADATA

Schema Default

Not specified.

Internal Default

Not specified.

Upper Bound

Not specified

Lower Bound

Not specified

Internal ID

3002

Friendly ID

MD_VR_USERNAME

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

/LM/W3SVC/n/ROOT/virtual_directory_name

IIsWebVirtualDir

/LM/MSFTPSVC/n/ROOT

/LM/MSFTPSVC/n/ROOT/virtual_directory_name

IIsFtpVirtualDir

/LM/NNTPSVC/n/ROOT

/LM/NNTPSVC/n/ROOT/virtual_directory_name

IIsNntpVirtualDir

/LM/SMTPSVC/n/ROOT

/LM/SMTPSVC/n/ROOT/virtual_directory_name

IIsSmtpVirtualDir

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