The following is a simple way to securely grab the user's windows loginID.
Note: required is the class modules: SystemInfo and the module: UserName (Getuser) which has the function to return the user's loginID. Just import these into your mdb/accdb project.
Also see class module: FormInfo (from the Sybex MSAccess Developers Handbook by Ken Getz) for various ways you can also manipulate a form.
*** If after downloading, the MSAccess file doesn't open, make sure to add this website to your intranet security in IE before downloading to then be able to open any MSAccess files within a zip download.
.