[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

USERNAME

Syntax:

USERNAME [ field-argument ] [ switch ]

Description: Retrieves the current user's name or, if field-argument is present, the name specified by text in field-argument. Specifying a field-argument shall not change the name of the current user.

Field Value: The name.

Switches: One of the following general-formatting-switches: \* Caps, \* FirstCap, \* Lower, or \* Upper.

[Example: Given a current user of "David Williams", the following fields:

USERNAME \* Lower
USERNAME
"John Jones"
USERNAME "Mary Smith" \* Upper

produce results of:

david williams
John Jones
MARY SMITH

end example]