WARNING LocalSite.cfg could not be found (This is normal for a new installation)
This Foswiki is running using a bootstrap configuration worked
out by detecting the layout of the installation.
To complete the bootstrap process you should either:
- Restore the missing LocalSite.cfg from a backup, or
- Complete the new Foswiki installation:
You have been logged in as a temporary administrator.
Any requests made to this Foswiki will be treated as requests made by an administrator with full rights
Your temporary administrator rights will "stick" until you've logged out from this session.
A Proxy server was detected. {ForceDefaultUrlHost} has been enabled.
If this page is rendered without any styles and you are using SSL (https), your proxy server may be misconfigured.
It must generate the
X-Forwarded-Proto header
. Try adding ?SSL=1 to the Foswiki URL to bypass this issue.
USERINFO -- retrieve details about a user
Parameters
Format tokens that can be used in
format
:
Token |
Description |
$emails (*) |
Comma separated list of email addresses known to the user mapper (this would normally be TopicUserMappingContrib). If expanding for a group, then this will be the email addresses of all members. |
$username (*) |
Login username. If expanding for a group, this should expand as unknown |
$wikiname , $wikiusername |
The user's WikiName and Main.WikiName , respectively |
|
$groups (*) |
Comma separated list of group membership. Currently only expands for users |
$isadmin (*) |
Has admin privileges (expands to true or false ) |
$isgroup |
Is a group (expands to true or false ) |
|
Tokens flagged '(*)' are considered private and are hidden from other users by default.
The
standard format tokens are also supported.
Examples
-
%USERINFO{"name" format="..."}%
expands to admin, Main.AdminUser, email not set
(lists $username, $wikiusername, $emails
)
With formatted output, using tokens:
%USERINFO{ format="$username is really $wikiname" }%
Expands to:
admin is really AdminUser
Retrieve information about another user. You can use either a wikiname or a username to identify the user. You can only see the restricted information about another user if you are an admin, or the
{AntiSpam}{HideUserDetails}
configuration option is not enabled.
(User details are hidden on this site) :
%USERINFO{ "WikiGuest" format="$username is really $wikiname" }%
Expands to:
guest is really WikiGuest
USERNAME,
WIKINAME,
WIKIUSERNAME,
GROUPINFO,
UserAuthentication,
ChangeEmailAddress