# IRPCExportedDataSetsAdmin.GetReportAccessCredentialsAdmin

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Administration API](https://developer.m-files.com/APIs/gRPC-API/admin/index.md) > [Exported data set administration](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSetsAdmin/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSetsAdmin/GetReportAccessCredentialsAdmin/

Badges: `Administration API / specialized` `admin` `session` `idempotent`

Gets the account that is used to access reports generated from the exported data.

- **Service:** [Exported data set administration](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSetsAdmin/index.md) `MFiles.IRPCExportedDataSetsAdmin`
- **gRPC method:** `/MFiles.IRPCExportedDataSetsAdmin/GetReportAccessCredentialsAdmin`
- **HTTP (mf-http-grpc):** `POST /grpc/v1/get-report-access-credentials-admin`
- **Request:** [`GetReportAccessCredentialsAdminRequest`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSetsAdmin/GetReportAccessCredentialsAdmin/index.md#request)
- **Response:** [`GetReportAccessCredentialsAdminResponse`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCExportedDataSetsAdmin/GetReportAccessCredentialsAdmin/index.md#response)
- **Book and level:** Administration API, specialized
- **Kind:** admin
- **Session:** Required: the session ID from LogIn in the mfiles-session-id-bin metadata.
- **Idempotent:** yes
- **Returns metadata structure version:** no
- **Streaming:** none (unary)

<a id="remarks"></a>

## Remarks

- Requires a vault session and the vault right `see_all_objects` (a normal user is
  denied).
- The password is not returned in clear text: `encrypted_password` is encrypted with the
  server's public key.
- When no account has been set, `type` is `IMPERSONATION_TYPE_SYSTEM_ACCOUNT` and `account` is
  empty.

<a id="request"></a>

## Request: GetReportAccessCredentialsAdminRequest

No fields.

<a id="response"></a>

## Response: GetReportAccessCredentialsAdminResponse

> Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

| Field | Type | Description |
|---|---|---|
| `impersonation` | [`Impersonation`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.Impersonation/index.md) | The report access account. |
| `impersonation.type` | [`ImpersonationType`](https://developer.m-files.com/APIs/gRPC-API/Reference/Enums/MFiles.ImpersonationType/index.md) | Impersonation type. Values: `IMPERSONATION_TYPE_SYSTEM_ACCOUNT` (0), `IMPERSONATION_TYPE_LOCAL_WINDOWS_ACCOUNT` (1), `IMPERSONATION_TYPE_EXTERNAL_ACCOUNT` (2). |
| `impersonation.account` | `string` | Account name (e.g. DOMAIN\user). |
| `impersonation.encrypted_password` | `bytes` | Encrypted password. |
