# Retrieve User Data
source: https://developer.mastercard.com/riskrecon-api/documentation/use-cases/user/retrieve-user-data/index.md

## Overview {#overview}

You can use the `GET User Management` endpoint to retrieve all the user data of your organization, such as user roles, employee IDs, contact information, last and current login information, and whether the user is active or not on the portal.

Using this endpoint, you can perform periodic checks on users' login activities by tracking active and inactive users of your organization. The system administrator can then perform clean-ups by flushing out the inactive or disabled user accounts as required.

## Sequence Diagram {#sequence-diagram}

The following diagram shows how to retrieve data of the users in your organization:
Diagram retrieve-user-data

## Execution Steps {#execution-steps}

The following steps describe how to retrieve data of the users in your organization:

1. The user sends a `GET` request to retrieve the data of the users in your organization.
2. RiskRecon provides the data of the users in the organization.

## Sample Request and Response {#sample-request-and-response}

For a sample request and response for this API, see [Get User Data](https://developer.mastercard.com/riskrecon-api/documentation/testing/user-samples/retrve-user-data-smpl/index.md).

## Use Case Examples {#use-case-examples}

The [Maintain the User Database](https://developer.mastercard.com/riskrecon-api/documentation/use-cases/user/retrieve-user-data/index.md#maintain-the-user-database) use case discusses how you can use the `GET User Management` endpoint to retrieve data of the users in your organization.

## Maintain the User Database {#maintain-the-user-database}

Several users in an organization of a RiskRecon customer have changed roles, while some have left the organization. Besides, there have been new hires as well. The system administrator audits to know who all have access to their portal, if those users are currently active, and when they were last signed in. The system administrator can use the `GET User Management` endpoint to retrieve all the user data and perform clean-up on the users' database accordingly.

## Endpoint {#endpoint}


API Reference: `GET /v1/user_mgmt`

