Url User Property C# API
Gets the username specified in this Url.

Namespace: Facilita.Web
Assembly: clrWebBrowser (in clrWebBrowser.dll) Version: (

public string User { get; }

Field Value

The username specified in this Url, or an empty string if no username is specified.

If a username and password are present in a URL, they appear before the host.

e.g. http://username:password@www.myCompany.co.uk

Note Note
A Url object is immutable - that is, it cannot be changed after it has been created. To modify the username, call WithCredentials(String, String) to get a new Url object with the required modification.
See Also