Lines Matching defs:username
207 * Given the string the user entered in the 'username' field, find
212 * - if they didn't include a domain, an exact match of the username, or
214 * match of the username.
222 private Account findIntendedAccount(String username) {
227 // typed only the username (and not the domain), or got
234 if (username.equals(a.name)) {
236 } else if (username.equalsIgnoreCase(a.name)) {
238 } else if (username.indexOf('@') < 0) {
242 if (username.equals(aUsername)) {
244 } else if (username.equalsIgnoreCase(aUsername)) {