IRPCExportedDataSetsAdmin.SetReportAccessCredentials
Administration API / specialized admin session idempotent
Sets the account that is used to access reports generated from the exported data.
| Service | Exported data set administration MFiles.IRPCExportedDataSetsAdmin |
|---|---|
| gRPC method | /MFiles.IRPCExportedDataSetsAdmin/SetReportAccessCredentials |
| HTTP (mf-http-grpc) | POST /grpc/v1/set-report-access-credentials |
| Request | SetReportAccessCredentialsRequest |
| Response | SetReportAccessCredentialsResponse |
| 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) |
Remarks
- Requires a vault session and the vault rights
manage_usersandsee_all_objects. encrypted_passwordmust be encrypted with the server's public key (GetPublicKey), as M-Files Admin does.
Request: SetReportAccessCredentialsRequest
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 |
|---|---|---|
utf8szimpersonation | Impersonation | The account: type, account (for example DOMAIN\user), and encrypted_password. |
utf8szimpersonation.type | ImpersonationType | Impersonation type.Values: IMPERSONATION_TYPE_SYSTEM_ACCOUNT (0), IMPERSONATION_TYPE_LOCAL_WINDOWS_ACCOUNT (1), IMPERSONATION_TYPE_EXTERNAL_ACCOUNT (2). |
utf8szimpersonation.account | string | Account name (e.g. DOMAIN\user). |
utf8szimpersonation.encrypted_password | bytes | Encrypted password. |
Response: SetReportAccessCredentialsResponse
No fields.
Related methods
- IRPCLogin.GetPublicKey -- Gets the server's RSA public key, for encrypting secrets that a client sends to the server.