/// <summary> /// Authenticate user credentials. /// Compares the user entered credentials against /// the local database user table. /// Inherited from the IUserValidator interface /// ///Christopher K. Dierolf /// </summary> /// <returns>Returns true if credentials are authenticated. False if failed</returns> public bool AuthenticateUser(string userName, string password) { DBConnectionClass db = new DBConnectionClass(); if (db.FindLoginData(userName, password)) { return(true); } else { return(false); } }