|
META TOPICPARENT |
name="TWikiVariables" |
|
|
< < | USERINFO{"WikiName"} -- retrieve details about a user |
> > | USERINFO{"name"} -- retrieve details about a user |
|
- Syntax:
%USERINFO%
- Expands to:
aaaaaaguest, TWikiGuestbbbbbbbbb, (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'):
|
|
- Retrieve information about another user:
- Example:
%USERINFO{ "TWikiGuest" format="$username is really $wikiname" }%
- Expands to:
|
|
< < |
-
- 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)
|
| |