Specifies the user name and password for ASP.NET sites that require basic authentication or Windows authentication. This class cannot be inherited.
Assembly: Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)
If a site uses Windows Authentication, the supplied credentials will override the logged in user's credentials.
This attribute targets methods. Only one instance of this attribute may be applied to a method.
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.
For more information about how to use attributes, see Extending Metadata Using Attributes.