Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets and sets the user name used for authentication.
Namespace: Microsoft.VisualStudio.TestTools.WebTesting
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntax
'Declaration
Public Property UserName As String
'Usage
Dim instance As WebTest
Dim value As String
value = instance.UserName
instance.UserName = value
public string UserName { get; set; }
public:
property String^ UserName {
String^ get ();
void set (String^ value);
}
public function get UserName () : String
public function set UserName (value : String)
Property Value
Type: System.String
The user name used for authentication. The default value is an empty string.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.TestTools.WebTesting Namespace