KeyView 23.4

# SetPassword

Sets a password to use to open a password-protected file before the file is opened. Currently, you can use this to set a password for ZIP, PST, and NSF files.

NOTE: Unicode passwords are not supported.

## Syntax

    bRet = KeyView.SetPassword (szPassword);

## Parameters

Parameter | Type | Description
--- | --- | ---
`szPassword` | String | The password string.

## Returns

Type | Description
--- | ---
Boolean | `TRUE` if the method succeeds. `FALSE` if the method fails.

Copyright 2016-2023 Open Text
Version 23.4 | Last updated September 2023

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL KeyView 23.4

Topic Title: SetPassword