MaskPassword

Description

Specifies whether you want PowerBuilder to mask your password automatically when connecting to an OLE DB data provider.

When to specify MaskPassword

You must specify the MaskPassword parameter before connecting to the database.

Applies to

OLE DB

Syntax

MaskPassword='value'

Parameter

Description

value

Specifies whether you want PowerBuilder to mask your password. Values are:

  • True

    Tells PowerBuilder to mask the password

  • False

    (Default) Tells PowerBuilder not to mask the password


Default value

MaskPassword='False'

Examples

To tell PowerBuilder to mask your password when connecting to an OLE DB data provider:

  • Database profile

    Select the Mask Password check box on the Security page in the Database Profile Setup dialog box.

  • Application

    Type the following in code:

    SQLCA.DBParm="MaskPassword='True'"

See also

DataLink

EncryptPassword

IntegratedSecurity

PersistEncrypted