MS Access CurrentUser() Function
THE WORLD'S LARGEST WEB DEVELOPER SITE

MS Access CurrentUser() Function

❮ MS Access Functions

Example

Return the name of the current Access user:

SELECT CurrentUser();

Definition and Usage

The CurrentUser() function returns the name of the current Access user.

In a secured database, CurrentUser() will return the name of the user who has logged in. However, if the database is unsecured, CurrentUser() will return Admin as the name of the user.

Syntax

CurrentUser()

Technical Details

Works in: Access 2016, Access 2013, Access 2010, Access 2007, Access 2003, Access XP, Access 2000

❮ MS Access Functions