IRPCVaultLoginsAdmin.CreateVaultLoginPasswordResetRequest
Administration API / specialized admin session
Creates a password reset link for an M-Files login of the vault, and optionally emails it to the login's email address.
| Service | Vault login accounts MFiles.IRPCVaultLoginsAdmin |
|---|---|
| gRPC method | /MFiles.IRPCVaultLoginsAdmin/CreateVaultLoginPasswordResetRequest |
| HTTP (mf-http-grpc) | POST /grpc/v1/create-vault-login-password-reset-request |
| Request | CreateVaultLoginPasswordResetRequestRequest |
| Response | CreateVaultLoginPasswordResetRequestResponse |
| Book and level | Administration API, specialized |
| Kind | admin |
| Session | Required: the session ID from LogIn in the mfiles-session-id-bin metadata. |
| Idempotent | no |
| Returns metadata structure version | no |
| Streaming | none (unary) |
Remarks
- Requires a vault session; no vault rights are needed to request a reset. Only callers with the
vault right
manage_usersget the link inpassword_reset_url; for others it is empty and the link reaches the user only by email. - The login is found by
account_name, or byaccount_email_addresswhen the name is empty (the address must match exactly one login). It must be an M-Files login with an email address and without the system administrator role; otherwise the request fails. site_urlis required. Repeated requests for the same login in a short time fail. The link expires after 7 days by default. The server can be configured to disable password resets.- Complete the reset with ResetVaultLoginPassword.
Request: CreateVaultLoginPasswordResetRequestRequest
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 |
|---|---|---|
account_name | string | The account name of the login, or empty to find it by email address. |
account_email_address | string | The email address of the login; used when account_name is empty. |
site_url | string | The web address the reset link is based on. |
send_email | bool | True to email the link to the login's email address. |
Response: CreateVaultLoginPasswordResetRequestResponse
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 |
|---|---|---|
password_reset_url | string | The reset link; empty unless the caller has the vault right manage_users. |
Related methods
- ResetVaultLoginPassword -- Sets a new password for a vault login, authorized by a password reset link.