17.16.5.71 USERNAME

]

[ switches ]

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: If a particular user’s context exists, the current user’s name; otherwise, an empty string.

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"

produce results of:

david williams
John Jones
MARY SMITH

end example]

Syntax:

Last updated on