Share this page

# lr.vuser_id

Returns the Vuser ID.

## JavaScript

    function lr.vuser_id ( )

## VB Script

    Function lr.vuser_id ( )

Informational Functions

The lr.vuser_id function returns the ID of the running Vuser.

## Return Values

The Vuser Id.

## Parameterization

Standard parameterization is not available for this function.

## VBScript Example

This example show the use of vuser_id.

Copy code

    lr.output_message "The user ID is " _    + lr.vuser_id

    Example: Output in temp_1.log:
    The user ID is 1    [MsgId: MMSG-17999]

Tips to improve your search results... VuGen Function Reference Version 26.1-26.3 Function Reference 26.1-26.3 All View Local Help Center View Online Help Center Version: