Sample Header Ad - 728x90

Best way to test credentials?

0 votes
1 answer
39 views
I've got a C# app where I need to validate credentials for a DB2 database (V7R3). The way historically we've done this is to append the credentials to a connection string and actually attempt to connect to the database and just see whether the connection succeeds or fails. But is there a better way to do that, like an API for testing credentials or something?
Asked by Sarov (281 rep)
Aug 28, 2024, 03:28 PM
Last activity: Aug 28, 2024, 05:14 PM