TrustedConnection – PB Docs 126

TrustedConnection database parameter

Description

Specifies whether the current Windows account credentials
can be used for authentication.

note.png When to specify TrustedConnection

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

Controls

  • ADO.NET

  • SNC SQL Native Client for Microsoft SQL Server

Syntax

Parameter

Description

value

Specifies whether the current Windows
account credentials can be used for authentication. Values are:

  • 0

    (Default) The User ID and Password are specified in the connection.

  • 1

    The current Windows account credentials are used for authentication.
    The User ID and Password supplied in the connection are ignored.

Default

TrustedConnection=0

Examples

To specify that PowerBuilder should trust the connection:

  • Database profile

    Select the Trusted Connection check box on the General page
    in the Database Profile Setup dialog box.

  • Application

    Type the following in code:


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x