Mono Class Library: System.Net.NetworkCredential Overview | Members

System.Net.NetworkCredential.UserName Property

Gets or sets the user name for the account associated with the current credentials. [Edit]

public string UserName { set; get; }

Value

A string containing the user name for the account associated with the current credentials. [Edit]

Permissions

TypeReason
System.Security.Permissions.EnvironmentPermission [Edit] Requires read access to the environment variable that contains the user name. See System.Security.Permissions.EnvironmentPermissionAccess.Read.

Remarks

Documentation for this section has not yet been entered. [Edit]

Requirements

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