Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting user login in secured database 1

Status
Not open for further replies.

KeyserSoze

Programmer
May 18, 2000
79
US
I have a database that I have created users and groups in a workgroup file. In some activities, I would like to store the user's login in an auditing table. Is there a way to lookup the user's database login name?

Thanks!

 
Yes, just use the CurrentUser function, for example

Msgbox "Current user is: " & CurrentUser

John
 
Sometimes I cannot see the forest because of the trees.

Thanks, John!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top