[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Data.DbDataSource.NeedsToSetCredentials

NeedsToSetCredentials Method

NeedsToSetCredentials(string, string)

Determines whether credentials need to be set based on the provided user name and password.

Declaration
protected static bool NeedsToSetCredentials(string userName, string password)
Parameters
Type Name Description
string userName

The user name.

string password

The password.

Returns
Type Description
bool

true if either the user name or password is non-empty; otherwise, false.