<a name="VarUSERINFO"></a>
-### <a name="USERINFO{"_WikiName"} -- retriev"></a> USERINFO\{"WikiName"\} -- retrieve details about a user
+### <a name="USERINFO{"name"} -- retrieve det"></a> USERINFO\{"name"\} -- retrieve details about a user
- Syntax: `%USERINFO%`
- Expands to: `admin, Main.admin, ` (comma-separated list of the username, wikiusername, and emails)
- 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)_
- Related: [[USERNAME|Main/VarUSERNAME]], [[WIKINAME|Main/VarWIKINAME]], [[WIKIUSERNAME|Main/VarWIKIUSERNAME]], [[TWikiUserAuthentication]], [[ChangeEmailAddress]]