---
title: "Aspose::Email::Storage::Pst::MessageStore::IsPasswordValid method"
url: "https://reference.aspose.com/email/cpp/aspose.email.storage.pst/messagestore/ispasswordvalid/"
product: "Aspose.Email for C++"
description: "Determines whether the specified string is a valid password for the storage."
---


## IsPasswordValid {#ispasswordvalid}

Determines whether the specified string is a valid password for the storage.

**Returns:** bool Aspose::Email::Storage::Pst::

```cpp
IsPasswordValid(System::String password)
```

| Parameter | Description |
| --- | --- |
| password | The password string. |

