r2 - 04 Feb 2007 - 04:04:37 - TWikiContributorYou are here: TWiki >  TWiki Web > VarUSERINFO

USERINFO{"WikiName"} -- retrieve details about a user

  • Syntax: %USERINFO%
  • Expands to: TWikiAdminGroup, TWikiAdminGroup, jd@bnl.gov, smithj4@bnl.gov, jhover@bnl.gov, ysmirnov@bnl.gov, dtyu@bnl.gov, jd@bnl.gov (comma-separated list of the username, wikiusername, and emails)
  • With formatted output, using tokens $emails, $username, $wikiname, $wikiusername, and $groups:
    • Example: %USERINFO{ format="$username is really $wikiname" }%
    • Expands to: TWikiAdminGroup is really TWikiAdminGroup
  • Retrieve information about another user:
    • Example: %USERINFO{ "TWikiGuest" format="$username is really $wikiname" }%
    • Expands to: guest is really TWikiGuest
    • Note: The parameter should be the wikiname of a user. You can only get information about another user if the {AntiSpam}{HideUserDetails} configuration option is not enabled, or if you are an admin. (User details are hidden in this TWiki)
  • Related: USERNAME, WIKINAME, WIKIUSERNAME, TWikiUserAuthentication, ChangeEmailAddress

About This Site

Please note that this site is a content mirror of the BNL USATLAS TWiki. To edit the content of this page, click the Edit this page button at the top of the page and log in with your BNL USATLAS account.


Attachments

 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.VarUSERINFO