dsn_needs_authentication


Description:

public static bool dsn_needs_authentication (string dsn_name)

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:

dsn_name

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

Returns:

TRUE if an authentication is needed