If you enter an incorrect username or password, you should see a login error message, as in Figure 5.
如果您输入不正确的用户名和密码,将看到一条错误消息,如图5所示。
As we did for USERNAME in the previous step, set the value as required on the validation TAB, and set the control up to display validation error messages in an error message control.
如我们上一步对USERNAME做的一样,将验证选项卡上的值设为必须,然后在错误消息控制中设定显示验证错误消息。
In your own applications, you might consider clearing the username and password when failure occurs because of authentication and adding an error message to the screen.
在我们自己的应用程序中,可以考虑在发生认证失败的情况时清除用户名和密码,并向屏幕上添加一条错误消息。
Having determined the cause of the error, reconnect to the local database, this time explicitly specifying a username and a password.
既然找到了错误的原因,就可以重新连接本地数据库,这一次显式地指定用户名和密码。
You will see an error indicating that the service failed to check the given username and password in the user registry.
您将看到一个错误,表明服务不能在用户注册表中找到给定的用户名和密码。
If the username and password match the expected values, this just returns; otherwise, it throws an exception to indicate the error.
如果用户名和密码匹配预期值,那么返回即可;否则,将抛出一个异常表示出错。
If the service returns an error that the username could not be found, then the system consults the next item in the list — in this case, the local files.
如果服务返回用户无法找到的错误,则系统将查询列表中的第二项——在本例中为本地文件。
There was an error detecting your blog Settings. Click OK and re-enter the username and password.
侦测你的部落格设定时错误,请按“确定”并重新输入使用者名称和密码。
An authorization error occurred, please try retyping your username and password.
发生了一个授权错误,请尝试重新输入用户名和口令。
An authorization error occurred, please try retyping your username and password.
发生了一个授权错误,请尝试重新输入用户名和口令。
应用推荐