VarUSERINFO
System
#VarUSERINFO ---+++ USERINFO{"name"} -- retrieve details about a user * Syntax: =%<nop>USERINFO%= * Expands to: <code>%USERINFO%</code> (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: <verbatim class="tml">%USERINFO{ format="$username is really $wikiname" }%</verbatim> * Expands to: =%USERINFO{ format="$username is really !$wikiname" }%= * Retrieve information about another user: * Example: <verbatim class="tml">%USERINFO{ "WikiGuest" format="$username is really $wikiname" }%</verbatim> * Expands to: <code>%USERINFO{ "WikiGuest" format="$username is really !$wikiname" }%</code> %IF{ "{AntiSpam}{HideUserDetails} AND NOT '%WIKIUSER%' ingroup 'AdminGroup'" then="<blockquote class='foswikiHelp'>$percentT$percent You need to be a member of %USERSWEB%.AdminGroup for the =USERINFO= macro to provide details about other users</blockquote>" }%<blockquote class="foswikiHelp">%H% The parameter should be the wikiname of a user. 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. %IF{"{AntiSpam}{HideUserDetails}" then=" _(User details are hidden in this site)_ "}%</blockquote> * Related: [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarUSERNAME][USERNAME]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarWIKINAME][WIKINAME]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarWIKIUSERNAME][WIKIUSERNAME]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarGROUPINFO][GROUPINFO]], UserAuthentication, ChangeEmailAddress <!--%JQREQUIRE{"chili"}%-->
E
dit
•
A
ttach
•
P
rint version
•
H
istory
: r1
•
B
acklinks
•
V
iew topic
•
M
ore topic actions
Projects
Skin Browser
Need to add skin selector, and then appropriate details
WidgetsSkin
options:
Wide
Wide - Thin
Thin - Wide
Thin - Wide - Thin
Wide - Thin - Thin
Wide - Medium
Medium - Wide
System Changes
WebCreateNewTopicTemplate
WebTemplateTopics
WebSearch
WebHome
WikiWord
WikiSyntax
WikiName
WikiSyntaxSummary
WikiCulture
WelcomeGuest
WebNotifyHelp
WebNotify
WebRssBase
WebRss
WebPreferencesHelp
powered by the community. 28th October 2008.