CredentialAttribute.Password Property

Gets the user's password.

Namespace:  Microsoft.VisualStudio.TestTools.UnitTesting.Web
Assembly:  Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)

Syntax

'Declaration
Public ReadOnly Property Password As String
public string Password { get; }
public:
property String^ Password {
    String^ get ();
}
member Password : string with get
function get Password () : String

Property Value

Type: String
The user's password.

Remarks

Caution   The password is stored in plain text in source code and in the compiled assembly. Restrict access to the source code and assembly to help protect this sensitive information.

.NET Framework Security

See Also

Reference

CredentialAttribute Class

Microsoft.VisualStudio.TestTools.UnitTesting.Web Namespace

Other Resources

ASP.NET Unit Tests