retrieving your microsoft access user name in vba

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Rafleming77
    New Member
    • Nov 2014
    • 1

    retrieving your microsoft access user name in vba

    I am looking to use the username from access for a login page but all I can seem to find out there is a way to get your username from windows but this doesn't seem to work. Please help or guide me in the right direction. Thanks
  • jimatqsi
    Moderator Top Contributor
    • Oct 2006
    • 1293

    #2
    If you are logging in to the Access program in a way that is not using the Windows login then who knows where that login ID/Password come from. It is up to the imagination of the folks who wrote your database program.

    Maybe the DB uses the workgroup security managed by Access. A lot depends on your version of Access. How much do you know about the way security has been implemented?

    Jim

    Comment

    • jforbes
      Recognized Expert Top Contributor
      • Aug 2014
      • 1107

      #3
      If you are trying to get the current Windows User, check out post #2 of http://bytes.com/topic/access/answer...assword-access

      Comment

      Working...