user logged (1 Viewer)

JonyBravo

Registered User.
Local time
Today, 19:35
Joined
Jan 17, 2006
Messages
89
HY everyone!

I used the following script "GetCurrentUserName()" in access 2003 to get the username of the logged user. I’m using the following script "CurrentUser()" in access 97 but it always recognise any user as a admin.
Is there anyone that could tell me how to solve this please?
Thanks
 

Sergeant

Someone's gotta do it
Local time
Today, 12:35
Joined
Jan 4, 2003
Messages
638
If you are talking about the current user's Windows username, you can use Environ("UserName")
 

Users who are viewing this thread

Top Bottom