S samuvk Registered User. Local time Yesterday, 23:05 Joined Mar 3, 2010 Messages 24 Mar 12, 2010 #1 Anyone knows how can I get the name of the user that is using the database in a determinate moment. something like getUserName or something like that. Thanks
Anyone knows how can I get the name of the user that is using the database in a determinate moment. something like getUserName or something like that. Thanks
SOS Registered Lunatic Local time Yesterday, 23:05 Joined Aug 27, 2008 Messages 3,512 Mar 12, 2010 #2 You can use Environ("username") but the more reliable method is: http://www.mvps.org/access/api/api0008.htm
You can use Environ("username") but the more reliable method is: http://www.mvps.org/access/api/api0008.htm
gemma-the-husky Super Moderator Staff member Local time Today, 07:05 Joined Sep 12, 2006 Messages 16,074 Mar 12, 2010 #3 if you are logged in using access security then currentuser but if you arent using access security, this will just show Admin
if you are logged in using access security then currentuser but if you arent using access security, this will just show Admin