# PasswordFormat

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Reference](https://developer.m-files.com/APIs/gRPC-API/Reference/index.md) > [Enums](https://developer.m-files.com/APIs/gRPC-API/Reference/Enums/index.md)

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

Password format enumeration.

- **Full name:** `MFiles.PasswordFormat`
- **Proto file:** [`mfiles/enums.proto`](https://developer.m-files.com/APIs/gRPC-API/downloads/proto/mfiles/enums.proto)

<a id="values"></a>

## Values

| Name | Number | Description |
|---|---|---|
| <a id="v-PASSWORD_FORMAT_MD5_HASH_ENCRYPTED"></a>`PASSWORD_FORMAT_MD5_HASH_ENCRYPTED` | 0 | [DEPRECATED] The password format is MD5 hash encrypted. |
| <a id="v-PASSWORD_FORMAT_PLAIN_TEXT"></a>`PASSWORD_FORMAT_PLAIN_TEXT` | 1 | [DEPRECATED] The password format is plain text. |
| <a id="v-PASSWORD_FORMAT_SEE_OTHER_PARAMS"></a>`PASSWORD_FORMAT_SEE_OTHER_PARAMS` | 2 | Encryption and hash algorithms are relayed as separate parameters. |

<a id="used-by-methods"></a>

## Used by methods

- [IRPCLogin.ChangePassword](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCLogin/ChangePassword/index.md): Changes the M-Files password of the logged-in account.
- [IRPCLoginsAdmin.ResetPassword](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCLoginsAdmin/ResetPassword/index.md): Completes the "forgot password" flow: sets a new password for a login with the values from the password reset link.

<a id="used-in-fields"></a>

## Used in fields

- [`ChangePasswordRequest.password_format`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCLogin/ChangePassword/index.md#request): Set to `PASSWORD_FORMAT_SEE_OTHER_PARAMS`. The other values are deprecated and override `password_encryption`, `passwords_unhashed` and `password_hash_algorithm_desired`.
- [`ResetPasswordRequest.password_format`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCLoginsAdmin/ResetPassword/index.md#request): Set `PASSWORD_FORMAT_SEE_OTHER_PARAMS`. The other values, including the default, are deprecated.
