wiki-archive/twiki/data/TWiki/VarUSERINFO.txt,v

42 lines
1.5 KiB
Plaintext

head 1.1;
access;
symbols;
locks; strict;
comment @# @;
1.1
date 2006.06.25.16.26.30; author TWikiContributor; state Exp;
branches;
next ;
desc
@buildrelease
@
1.1
log
@buildrelease
@
text
@%META:TOPICINFO{author="TWikiContributor" date="1111929255" format="1.2" version="1"}%
%META:TOPICPARENT{name="TWikiVariables"}%
#VarUSERINFO
---+++ USERINFO - retrieve details about a user (by default the logged-in user)
* Syntax: =%<nop>USERINFO%=
* Expands to: =%USERINFO%=
*To format that information differently:*
* Syntax: =%<nop>USERINFO{format="$username is really $wikiname"}%=
* Expands to: =%USERINFO{format="$username is really !$wikiname"}%=.
* The tokens =$emails=, =$username=, =$wikiname=, =$wikiusername=, and =$groups= are available for use in the format string .By default, the info will be formatted as a comma-separated list of the username, wikiusername, and emails.
*To get information about another user:*
* Syntax: =%<nop>USERINFO{"TWikiGuest" format="$username is really $wikiname"}%=
* Expands to: <code>%USERINFO{"TWikiGuest" format="$username is really !$wikiname"}%</code>
* 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. %IF{"{AntiSpam}{HideUserDetails}" then=" _(User details are hidden in this TWiki)_ "}%
* Related: [[#VarUSERNAME][USERNAME]], [[#VarWIKINAME][WIKINAME]], [[#VarWIKIUSERNAME][WIKIUSERNAME]], TWikiUserAuthentication, ChangeEmailAddress
@