Article ID: 203887 - Last Review: June 28, 2004 - Revision: 2.0 ACC2000: How to Clear the Last User Name from the Logon Dialog BoxThis article was previously published under Q203887 Advanced: Requires expert coding, interoperability, and multiuser skills.
This article applies only to a Microsoft Access database (.mdb). SUMMARY
When you start Microsoft Access in a secured database environment, you are prompted by the Logon dialog box to log on to the database before you can open it. The Name box in the Logon dialog box is populated with the name of the last user who logged on to the database. This article demonstrates a method to prevent the last user name from appearing in the Name box.
MORE INFORMATION
With any Access database, Microsoft Access stores the name of the last user to have accessed the database in the Windows registry. When you implement Access Security, the name of the last user appears in the Logon dialog box whenever the database is opened. To prevent the last user's name from appearing in the Name box of the Logon dialog box, create a shortcut that includes the /user switch, but which does not include the name of a user. For an example of how to do this, follow these steps. This example assumes that Northwind.mdb is the secured database, and it creates a shortcut based on this assumption.
REFERENCESFor additional information about Access security, click the article numbers below
to view the articles in the Microsoft Knowledge Base:
254372
(http://support.microsoft.com/kb/254372/EN-US/
)
ACC2000: Overview of How to Secure a Microsoft Access Database
235961
(http://support.microsoft.com/kb/235961/EN-US/
)
ACC2000: Microsoft Access Security Manager Add-In Available in Download Center
207793
(http://support.microsoft.com/kb/207793/EN-US/
)
ACC2000: Microsoft Access Security FAQ Available in Download Center
| Article Translations
|
Back to the top
