## Protection::GetPassword method


Represents the password to protect the worksheet.

```cpp
U16String Aspose::Cells::Protection::GetPassword()
```

## Remarks


If password is set to null or blank string, you can unprotect the worksheet or workbook without using a password. Otherwise, you must specify the password to unprotect the worksheet or workbook. 
## See Also

* Class [U16String](../../u16string/)
* Class [Protection](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
