Description
PowerBuilder and InfoMaker provide a new DBParm parameter named PWDialog for use with the following database interfaces:
- Sybase Systems 10 and 11 (on all supported platforms)
- Sybase Systems 10 and 11 distributed application interface (on UNIX)
When you are using one of these interfaces to access the database, PWDialog controls whether a Password Expired dialog box displays if necessary in your PowerBuilder or InfoMaker application at execution time.
When PWDialog is set to 1, the Password Expired dialog box prompts application users to change their password if they attempt to log in to the database with an expired password. By default, PWDialog is set to 0 to specify that the Password Expired dialog box will not display in your application at execution time.
Purpose
Setting PWDialog to 1 to display the Password Expired dialog box in your executable application provides a convenient way for you to notify users that their password has expired and allow them to change it.
Usage
You can set PWDialog in a PowerBuilder application script before connecting to the database.
The setting of PWDialog affects PowerBuilder and InfoMaker applications only at execution time. It has no effect in the PowerBuilder or InfoMaker development environment because, regardless of the PWDialog setting, the Change Password dialog box displays in the development environment to prompt users to change an expired password.
|