USERNAME -- your login username

Foswiki makes names available in three formats: USERNAME like jsmith, WIKINAME like JohnSmith and WIKIUSERNAME like Main.JohnSmith. Un-authenticated users are all WikiGuest.

Examples

  • %USERNAME% expands to guest
    ALERT! When used in a template topic, this macro will be expanded when the template is used to create a new topic. See TemplateTopics#TemplateTopicsVars for details

REMOTE_USER, USERINFO, WIKINAME, WIKIUSERNAME, UserAuthentication

This topic: System > Category > UserDocumentationCategory > Macros > VarUSERNAME
Topic revision: 18 Jun 2015, ProjectContributor
This site is powered by FoswikiCopyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback