Share this page

# Get all users

## Description

Gets a list of all system users and user details (available in versions 2020 SP3 and later).

You can also add an additional parameter (`"include=user-role"`) to return user project and project role assignments. This parameter is available in LoadRunner Enterprise 2023 and later. The user role response is supported as JSON only; XML is not currently supported.

## URL

Copy code
Get all system users

    /Admin/rest/v1/users

Copy code
Get all system users and include user roles

    /Admin/rest/v1/users?include=user-roles

## Remarks

None

## HTTP Method

GET: Returns all the users.

## Request

Headers:

Content-Type: application/xml

Accept: application/json, application/xml

Cookies:

ADM_LWSSO={AdmLwssoCookie};

Request Body:

None

Request Examples
Copy code
Get all system users

    GET http://<LRE_Server>/Admin/rest/v1/users
    Content-Type: application/xml
    Accept: application/json, application/xml
    Cookie: ADM_LWSSO={AdmLwssoCookie};

Copy code
Get all system users and include user role data

    GET http://<LRE_Server>/Admin/rest/v1/users?include=user-roles
    Content-Type: application/xml
    Accept: application/xml
    Cookie: ADM_LWSSO={AdmLwssoCookie};

## Response

Headers:

None

Cookies:

None

HTML Return Code:

One of the HTTP Return Codes.

HTML Body:

See User response.

## See Also

Add a user
Update a user
Delete a user
Assign project and role to user
Get user by ID
Get list of users by query

Tips to improve your search results... LoadRunner Enterprise Administration REST API Reference LRE Admin REST API All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic(Undefined variable: _rscC_Basic_Variables.VersionLabel)