Get(UserName)
 
Purpose 
Returns the name of the FileMaker user, as specified in the General tab of the Preferences dialog box.
Format 
Get(UserName)
Parameters 
None
Data type returned 
text
Originated in 
FileMaker Pro 6.0 or earlier
Description 
The returned name is user-specified.
Important  For greater security, use the Get(AccountName) function to track and manage user access: a user cannot change the account name used to log in to a database file.
In FileMaker WebDirect, this function returns:
 •
[WebDirect-<xxxxx>], where <xxxxx> is the last five digits of the current persistent ID. See the Get(PersistentID) function.
 •
[Guest] when the user logged in with the Guest account.
Examples 
Returns Sharon Lloyd when Sharon Lloyd is the current user.
Related topics 
Get(PersistentID) function
Functions reference (category list)
Functions reference (alphabetical list)
About formulas
About functions
Defining calculation fields
Using operators in formulas