PWExpDialog

Description

Controls whether an informational dialog box displays in an application at runtime if a user’s password is about to expire.

When PWExpDialog is set to 1, a dialog box displays advising users that their passwords will expire in a given number of days. By default, PWExpDialog is set to 0 to specify that the dialog box does not display in your application at runtime.

NoteWhen to specify PWExpDialog You must specify a value for PWExpDialog before connecting to the database.

Applies to

Syntax

PWExpDialog=value

Parameter

Description

value

Specifies whether an informational dialog box displays in an application at runtime to advise the user that a login password will expire in a given number of days. Values are:

Default

PWExpDialog=0

Usage

When this parameter is set to 1, the Oracle ORA-28002 and ORA-28011 and the Adaptive Server 4023 informational messages display.

Examples

Example 1

To display the dialog box when needed in your application, type the following in code:

SQLCA.DBParm="PWExpDialog=1"