Set password for the specified user.
enum nm_iam_error nm_iam_set_user_password(struct nm_iam* iam, const char* username, const char* password)
- [in] IAM module to manipulate
- [in] the username of the user
- [in] the password to set for the user
NM_IAM_ERROR_OK: if password was set successfully for the user.
NM_IAM_ERROR_NO_SUCH_USER: if the specified user does not exist.
NM_IAM_ERROR_INVALID_ARGUMENT: if the password was too long.