Get User Id via Windows API (VBA)

Basic module using Windows API to get the username (UserID or login ID) of the currently logged in user.

Click the download button for Access_GetUserName.txt... Download Code