USERINFO{"name"} -- retrieve details about a user
- Syntax:
%USERINFO% - Expands to:
guest, Wiki Guest,(comma-separated list of the username, wikiusername, and emails) - With formatted output, using tokens
$emails,$username,$wikiname,$wikiusername,$groupsand$admin($admin returns 'true' or 'false'):- Example:
%USERINFO{ format="$username is really $wikiname" }% - Expands to:
guest is really WikiGuest
- Example:
- Retrieve information about another user:
- Example:
%USERINFO{ "WikiGuest" format="$username is really $wikiname" }% - Expands to:
guest is really WikiGuest
You need to be a member of Admin Group for the USERINFOmacro to provide details about other users
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. (User details are hidden in this site)
- Example:
- Related: USERNAME, WIKINAME, WIKIUSERNAME, GROUPINFO, User Authentication, Change Email Address