p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

access thread: setting security in vba


Message #1 by "Daren Porter" <porterdt@h...> on Tue, 11 Jun 2002 17:37:26
Can I write code that tells Access to run as a certain user depending on 
the windows login?  I know the API calls to get the Windows user name.  
Can I have it check and see if, for example, "Staff" is logged in to 
Windows, then run the DB as "Peon", and if "Admin" is logged in to 
Windows, then run DB as "DBA"?

  Return to Index