Log User Account On/Off

  • Thread starter Thread starter Casey
  • Start date Start date
C

Casey

I would like to log a user account on and off using
code. Does anyone have examples of something like this?

Casey
 
You really can't do this without closing your current session of Access.
Security in Access is built around "sessions". A session starts when you
open the Access application. Note I didn't say when you open a particular
db; security is implemented when you open msaccess.exe regardless of which
database you are in. To log off a user, you would have to log out of your
current session of Access.
 
Back
Top