The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
CredentialAttribute Constructor (String^, String^, String^)
Initializes a new instance of the CredentialAttribute class with a user name, password and domain needed to access the test Web site.
Assembly: Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)
Parameters
- userName
-
Type:
System::String^
The user to authenticate.
- password
-
Type:
System::String^
The associated password for the user.
- domain
-
Type:
System::String^
The domain of the user.
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. |
Show:
