Specifies whether the current Windows account credentials can be used for authentication.
When to specify TrustedConnection You must specify the TrustedConnection parameter before connecting to the database.
ADO.NET
TrustedConnection = value
TrustedConnection = 0
To specify that PowerBuilder should trust the connection:
Database profile Select the Trusted Connection check box on the General tab in the Database Profile Setup dialog box.
Application Type the following in code:
SQLCA.DBParm = "TrustedConnection=1"