You are here:
STALklubben
>
System Web
>
Macros
>
VarUSERINFO
(2009-01-09,
ProjectContributor
)
(raw view)
E
dit
A
ttach
#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: =%<nop>USERINFO{ format="$username is really $wikiname" }%= * Expands to: =%USERINFO{ format="$username is really !$wikiname" }%= * Retrieve information about another user: * Example: =%<nop>USERINFO{ "WikiGuest" format="$username is really $wikiname" }%= * Expands to: <code>%USERINFO{ "WikiGuest" format="$username is really !$wikiname" }%</code> * %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)_ "}% * Related: [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarUSERNAME][USERNAME]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarWIKINAME][WIKINAME]], [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarWIKIUSERNAME][WIKIUSERNAME]], UserAuthentication, ChangeEmailAddress
E
dit
|
A
ttach
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r1 - 2009-01-09 - 12:00:00 -
ProjectContributor
System
Internetbokning
Log In
(ej för bokning) or
Register
Toolbox
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
User Reference
BeginnersStartHere
TextFormattingRules
Macros
FormattedSearch
QuerySearch
DocumentGraphics
SkinBrowser
InstalledPlugins
Admin Maintenance
Reference Manual
AdminToolsCategory
InterWikis
ManagingWebs
SiteTools
DefaultPreferences
WebPreferences
Categories
Admin Documentation
Admin Tools
Developer Doc
User Documentation
User Tools
Webs
Main
STALklubben
Sandbox
System
Deutsch
English
Svenska
Copyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding STALklubben?
Send feedback