This plugin is of use in those cases where TWiki users are registered and authenticated externally, for example using LDAP. So users are not registered to TWiki using its own registration workflow and therefore don't have a user topic in the Main web. This plugin fills that gap and creates a user's topic if it does not yet exist.
You can customize the template that is used to create a new user topic
by setting the NEWUSERTEMPLATE
preference variable (e.g. in TWikiPreferences):
If not set, it defaults to NewUserTemplate. This plugin comes with an example template,
NewLdapUserTemplate, to illustrate how to extract user data from an LDAP directory and integrate
the information into the user's topic dynamically. You will need to install the
TWiki:Plugins/LdapNgPlugin and the TWiki:Plugins/GluePlugin
to make use of it.
On creation of the user home topic only %WIKINAME%
, %USERNAME%
and %WIKIUSERNAME%
get expanded by default. To expand additional VARIABLES, you can use the %EXPAND{}%
syntax.
All percent signs have to be escaped by $percnt
, deeper recursion levels may
use $dollar
, too. Multiline EXPANDs are not supported.
Example:
%EXPAND{$percntGMTIME{"$year-$mo-$day"}$percnt}%
You do not need to install anything in the browser to use this extension. The following instructions are for the administrator who installs the extension on the server where TWiki is running.
Like many other TWiki extensions, this module is shipped with a fully automatic installer script written using the BuildContrib.
configure
interface (Go to Plugins->Find More Extensions) .zip
or .tgz
archives
perl <module>_installer
)
configure
and enable the module, if it is a plugin.
,v
files in your existing install (take care not to lock the files when you check in)
This work is partly funded by T+T Hennerich GmbH.
Plugin Author: | TWiki:Main.MichaelDaum![]() |
Copyright: | © 2006-2008, Michael Daum http://michaeldaumconsulting.com![]() © 2006-2010, TWiki:TWiki/TWikiContributor ![]() |
License: | GPL (GNU General Public License![]() |
Plugin Version: | 2011-01-14 |
Change History: | |
2011-01-14: | TWikibug:Item6530![]() |
2010-05-02: | TWikibug:Item6433![]() |
15 Sep 2008 | TWiki:Main.OliverKrueger![]() |
12 Feb 2008 | remove leading/trailing whitespaces from NEWUSERTEMPLATE filename |
09 Jan 2008 | fixed spelling error |
03 Jan 2008 | fixed default values for NEWUSERTEMPLATE, clearing unset LDAP attributes |
23 Oct 2007 | work around infinite loop in combination with ActionTrackerPlugin |
17 Sep 2007 | replace usernames in formtemplates as well as in the topic text |
18 Dec 2006 | initial release |
Dependencies: | None |
Plugin Home: | TWiki:Plugins/NewUserPlugin![]() |
Feedback: | TWiki:Plugins/NewUserPluginDev![]() |
Appraisal: | TWiki:Plugins/NewUserPluginAppraisal![]() |
Related Topics: NewLdapUserTemplate, RenderLdapUser, TWikiPlugins, DeveloperDocumentationCategory, AdminDocumentationCategory, TWikiPreferences