WebTestContext.IsNewUser Property
Gets a value that indicates whether the Web test is being run in the context of a new user of the target Web site.
Namespace: Microsoft.VisualStudio.TestTools.WebTesting
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntax
'Declaration
Public Property IsNewUser As Boolean
'Usage
Dim instance As WebTestContext
Dim value As Boolean
value = instance.IsNewUser
instance.IsNewUser = value
public bool IsNewUser { get; internal set; }
public:
property bool IsNewUser {
bool get ();
void set (bool value);
}
public function get IsNewUser () : boolean
public function set IsNewUser (value : boolean)
Property Value
Type: System.Boolean
true if the Web test is being run in the context of a new user; otherwise, false.
.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.