Share this page

# lr.get_vuser_id

Example: lr.get_vuser_id | Informational Functions

Returns a Vuser ID number.

## Java Language

    int lr.get_vuser_id( );

Example: lr.get_vuser_id | Informational Functions

The lr.get_vuser_id function returns the ID of the current Vuser.

## Return Values

Returns the ID of the current Vuser. If no ID is available (for example, there are no active Vusers) it returns -1. The return value is a pointer to static data and should only be read, not altered.

## Parameterization

Parameterization is not applicable to this function.

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