PasswordInfo
Information on password, possibly hashed and/or encrypted.
| Full name | MFiles.PasswordInfo |
|---|---|
| Proto file | mfiles/structs.proto |
Fields
| Field | Type | Number | Description |
|---|---|---|---|
hash | string | 1 | Password hash. |
hash_algorithm | PasswordHashAlgorithm | 2 | Password hash algorithm.Values: PASSWORD_HASH_ALGORITHM_MD5 (0), PASSWORD_HASH_ALGORITHM_UNDEFINED (1), PASSWORD_HASH_ALGORITHM_PBKDF2_WITH_SHA512_AND100000_ITERS (2). |
salt | string | 3 | Password salt. |
encryption | PasswordEncryption | 4 | Encryption algorithm used to protect the password hash.Values: PASSWORD_ENCRYPTION_RC4 (0), PASSWORD_ENCRYPTION_UNENCRYPTED (1), PASSWORD_ENCRYPTION_AES256 (2). |
Used by methods
- IRPCLoginsAdmin.AddLogin -- Adds a login account to the server.
- IRPCLoginsAdmin.GetPasswordHash -- Gets the encrypted password hash of an M-Files login, for copying the password to another server with SetPasswordHash.
- IRPCLoginsAdmin.ModifyLogin -- Changes a login account: its server roles and enabled state, and optionally its password, full name, e-mail address and license type.
- IRPCLoginsAdmin.SetPasswordHash -- Sets the password of an M-Files login from a password hash, for example one read with GetPasswordHash on another server.
- IRPCVaultLoginsAdmin.AddVaultLogin -- Adds a login account to the vault.
- IRPCVaultLoginsAdmin.GetVaultLoginPasswordHash -- Reads the password hash of a vault login, encrypted with a public key that the caller supplies.
- IRPCVaultLoginsAdmin.ModifyVaultLogin -- Changes the server roles, password, full name, email address or license type of a vault login.
- IRPCVaultLoginsAdmin.SetVaultLoginPasswordHash -- Sets the password of a vault login from a password hash.
Used in fields
GetPasswordHashResponse.password_info-- The encrypted hash with its hash algorithm and salt.SetPasswordHashRequest.password_info-- The password hash with its algorithm, salt and transit encryption.AddLoginRequest.password_info-- The encrypted password hash of an M-Files login.ModifyLoginRequest.password_info-- The new encrypted password hash. Used only whenchange_passwordis true.GetVaultLoginPasswordHashResponse.password_info-- The encrypted password hash with its algorithm and salt.SetVaultLoginPasswordHashRequest.password_info-- The new password hash, for example as read with GetVaultLoginPasswordHash.AddVaultLoginRequest.password_info-- The encrypted password hash, for an M-Files login.ModifyVaultLoginRequest.password_info-- The new encrypted password hash. Used only withchange_password.