IRPCVaultLoginsAdmin.SetVaultLoginPasswordHash
Administration API / specialized admin session idempotent
Sets the password of a vault login from a password hash.
| Service | Vault login accounts MFiles.IRPCVaultLoginsAdmin |
|---|---|
| gRPC method | /MFiles.IRPCVaultLoginsAdmin/SetVaultLoginPasswordHash |
| HTTP (mf-http-grpc) | POST /grpc/v1/set-vault-login-password-hash |
| Request | SetVaultLoginPasswordHashRequest |
| Response | SetVaultLoginPasswordHashResponse |
| 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 the vault right
manage_users. An unknown account fails with "Not found.". Only M-Files logins have a password; Windows logins authenticate against Windows.
Request: SetVaultLoginPasswordHashRequest
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. |
password_hash | string | Legacy field. Leave empty and use password_info. |
password_info | PasswordInfo | The new password hash, for example as read with GetVaultLoginPasswordHash. |
password_info.hash | string | Password hash. |
password_info.hash_algorithm | PasswordHashAlgorithm | Password hash algorithm.Values: PASSWORD_HASH_ALGORITHM_MD5 (0), PASSWORD_HASH_ALGORITHM_UNDEFINED (1), PASSWORD_HASH_ALGORITHM_PBKDF2_WITH_SHA512_AND100000_ITERS (2). |
password_info.salt | string | Password salt. |
password_info.encryption | PasswordEncryption | Encryption algorithm used to protect the password hash.Values: PASSWORD_ENCRYPTION_RC4 (0), PASSWORD_ENCRYPTION_UNENCRYPTED (1), PASSWORD_ENCRYPTION_AES256 (2). |
Response: SetVaultLoginPasswordHashResponse
No fields.