Field codes: UserName field

The UserName field inserts the user name from the User name box in the Word Options dialog box. To view the User name box, click the File tab, click Options, and then click General. The User name box is located under Personalize your copy of Microsoft Office.

Syntax

When you view the UserName field in your document, the syntax looks like this:

{ USERNAME ["NewName"] }

 Note    A field code tells the field what to show. Field results are what’s shown in the document after having evaluated the field code. To toggle between viewing the field code and the field code results, press Alt+F9.

Instructions

"NewName"

Inserts the name you specify instead of the name in the User name box. NewName doesn't change the contents of the User name box.

 
 
Applies to:
Word 2013, Word 2010