CurrentUser

Return a string variable that represents the current user.

Syntax
      CurrentDB

The current user is the database user, which can be different from the Windows username.

Example

MsgBox "Welcome " & CurrentUser

“People who know little are usually great talkers, while men who know much say little” ~ Jean Jacques Rousseau

Related:

CurrentDb - Return an object variable for the current database.


 
Copyright © SS64.com 1999-2019
Some rights reserved