CredentialAttribute.UserName Property
Gets the user's user name.
Namespace: Microsoft.VisualStudio.TestTools.UnitTesting.Web
Assembly: Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)
Syntax
'Declaration
Public ReadOnly Property UserName As String
'Usage
Dim instance As CredentialAttribute
Dim value As String
value = instance.UserName
public string UserName { get; }
public:
property String^ UserName {
String^ get ();
}
public function get UserName () : String
Property Value
Type: System.String
The user's user name.
.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.UnitTesting.Web Namespace