Share via


LoadTestUserContext.UserId Property

Gets the UserId of the user in 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
public int UserId { get; }
public:
property int UserId {
    int get ();
}
member UserId : int with get
function get UserId () : int

Property Value

Type: Int32
The UserId of the user in the load test scenario.

.NET Framework Security

See Also

Reference

LoadTestUserContext Class

Microsoft.VisualStudio.TestTools.LoadTesting Namespace