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.

When to specify PWExpDialog

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

Applies to

ASE, SYC SAP Adaptive Server Enterprise

O90 Oracle9i

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:

  • 0

    (Default) Do not display the dialog box at runtime.

  • 1

    Display the dialog box at runtime.


Default value

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

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

SQLCA.DBParm="PWExpDialog=1"