Nov 30, 2005 #1 DannyTmoov2 IS-IT--Management Joined Jan 7, 2003 Messages 49 Location GB Is there any way to retrieve the username of the currently logged in windows user? I need to do acheive this on access 97 running on windows 2000 Cheers,
Is there any way to retrieve the username of the currently logged in windows user? I need to do acheive this on access 97 running on windows 2000 Cheers,
Nov 30, 2005 1 #2 KenReay Programmer Joined Aug 15, 2002 Messages 5,424 Location GB See http://www.mvps.org/access/api/api0008.htm Regards Ken Reay Freelance Solutions Developer Boldon Information Systems Ltd Website needs upgrading, but for now - http://www.kenneth.reay.btinternet.co.ukUK Upvote 0 Downvote
See http://www.mvps.org/access/api/api0008.htm Regards Ken Reay Freelance Solutions Developer Boldon Information Systems Ltd Website needs upgrading, but for now - http://www.kenneth.reay.btinternet.co.ukUK
Nov 30, 2005 1 #3 PHV MIS Joined Nov 8, 2002 Messages 53,708 Location FR On windows2000 (and XP and NT and 2003) you may simply use this: Environ("USERDOMAIN") & "\" & Environ("USERNAME") Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886 Upvote 0 Downvote
On windows2000 (and XP and NT and 2003) you may simply use this: Environ("USERDOMAIN") & "\" & Environ("USERNAME") Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
Nov 30, 2005 Thread starter #4 DannyTmoov2 IS-IT--Management Joined Jan 7, 2003 Messages 49 Location GB Are there any other environment calls that could be of use? Do you have a link to a resource for this at all? Thanks guys! Upvote 0 Downvote
Are there any other environment calls that could be of use? Do you have a link to a resource for this at all? Thanks guys!