Home - this site is powered by TWiki(R)
TWiki > TWikiVariables > VarUSERINFO
TWiki webs: Main | TWiki | Sandbox   Hello TWiki Admin Group!

Welcome | Register | Changes | Topics | Index | Search | Go

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

  • Syntax: %USERINFO%
  • Expands to: unknown, TWikiAdminGroup, lmt@cinNOSPAM.ufpe.br (comma-separated list of the username, wikiusername, and emails)
  • With formatted output, using tokens $emails, $username, $wikiname, $wikiusername, $groups and $admin ($admin returns 'true' or 'false'):
    • Example: %USERINFO{ format="$username is really $wikiname" }%
    • Expands to: unknown is really TWikiAdminGroup
  • Retrieve information about another user:
    • Example: %USERINFO{ "TWikiGuest" format="$username is really $wikiname" }%
    • Expands to: TWikiGuest is really TWikiGuest
    • Note: The parameter should be the wikiname of a user. Since TWiki 4.2.1, you can also pass a login name. 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
Edit | Attach | Print version | History: %REVISIONS% | Backlinks | Raw View | Raw edit | More topic actions


Parents: WebHome > TWikiVariables
This site is powered by the TWiki collaboration platform Powered by Perl This site is powered by the TWiki collaboration platformCopyright © 1999-2025 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.

mersin escort bayan adana escort bayan izmit escort ankara escort bursa escort