Документ взят из кэша поисковой машины. Адрес оригинального документа : http://dualopt1.cmm.msu.ru/bin/rdiff/TWiki/VarUSERINFO?type=last
Дата изменения: Unknown
Дата индексирования: Fri Feb 28 20:50:12 2014
Кодировка:
%TOPICTITLE% (3 vs. 4) - TWiki
Welcome, Registration, and other StartingPoints; TWiki history & Wiki style; All the docs...
View   r4  >  r3  >  r2  >  r1
VarUSERINFO 4 - 2007-02-04 - Main.TWikiContributor
Line: 1 to 1
 
META TOPICPARENT name="TWikiVariables"
Changed:
<
<

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

>
>

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

 
  • Syntax: %USERINFO%
  • Expands to: guest, TWikiGuest, (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'):
Line: 10 to 10
 
  • Retrieve information about another user:
    • Example: %USERINFO{ "TWikiGuest" format="$username is really $wikiname" }%
    • Expands to: guest is really TWikiGuest
Changed:
<
<
    • 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)
>
>
    • 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)
 

Revision 4r4 - 2007-02-04 - 09:04:37 - TWikiContributor
Revision 3r3 - 2007-02-04 - 09:04:37 - TWikiContributor
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
Syndicate this site RSSATOM