LoadTestUserContext.UserId Property

Gets the UserId of the user within the load test scenario.

Namespace:  Microsoft.VisualStudio.TestTools.LoadTesting
Assembly:  Microsoft.VisualStudio.QualityTools.LoadTestFramework (in Microsoft.VisualStudio.QualityTools.LoadTestFramework.dll)

Syntax

'Declaration
Public ReadOnly Property UserId As Integer
'Usage
Dim instance As LoadTestUserContext 
Dim value As Integer 

value = instance.UserId
public int UserId { get; }
public:
property int UserId {
    int get ();
}
public function get UserId () : int

Property Value

Type: System.Int32

.NET Framework Security

See Also

Reference

LoadTestUserContext Class

LoadTestUserContext Members

Microsoft.VisualStudio.TestTools.LoadTesting Namespace