Config.dsnNeedsAuthentication

bool dsnNeedsAuthentication(string dsnName)

Tells if the data source identified as dsn_name needs any authentication. If a <username> and optionally a <password> are specified, they are ignored.

Parameters

dsnNamethe name of a DSN, in the "[<username>[:<password>]@]<DSN>" format

Returns

TRUE if an authentication is needed