System.UriBuilder.UserName Property

The user name associated with the user that accesses the URI.

Syntax

public string UserName { get; set; }

Value

A string containing the user name used to access the resource identified by the current instance.

Remarks

Specifying null for a set operation sets this property to string.Empty .

Requirements

Namespace: System
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0