> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Database User

Returns one database user that belong to the specified project.
To use this resource, the requesting API Key must have the Project Read Only role.
This resource does not require the API Key to have an Access List.

## Parameters

<div className="integrations-table">
  | Parameter  | Description                                                                                                    |
  | ---------- | -------------------------------------------------------------------------------------------------------------- |
  | Project ID | Unique 24 hexadecimal-digit string that identifies your project. Can be retrieved using "Return All Projects". |
  | Username   | Human-readable label that represents the user that authenticates to MongoDB.                                   |
</div>

## Example Output

```json theme={"dark"}
{
	"awsIAMType": "<string>",
	"databaseName": "<string>",
	"groupId": "<string>",
	"labels": [],
	"ldapAuthType": "<string>",
	"links": [
		{
			"href": "<string>",
			"rel": "<string>"
		}
	],
	"oidcAuthType": "<string>",
	"roles": [
		{
			"collectionName": "<string>",
			"databaseName": "<string>",
			"roleName": "<string>"
		}
	],
	"scopes": [],
	"username": "<string>",
	"x509Type": "<string>"
}
```

## Workflow Library Example

[Get Database User with Mongodb Atlas and Send Results Via Email](https://library.blinkops.com/workflows/get-database-user-with-mongodb-atlas-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/get-database-user-with-mongodb-atlas-and-send-results-via-email/canvas" />
</div>
