r3 - 16 Jun 2006 - 18:22:08 - MeredithLeslyYou are here: TWiki >  Codev Web > MorePluginHooks > InitializeUserHandler
Tags:
plugin 1 Add my vote for this tag, , create new tag

initializeUserHandler( $loginName, $url, $pathInfo )

  • $loginName - login name recovered from $ENV{REMOTE_USER}
  • $url - request url
  • $pathInfo - pathinfo from the CGI query
Allows a plugin to set the username, for example based on cookies.

Return the user name, or guest if not logged in.

This handler is called very early, immediately after earlyInitPlugin.

Since: TWiki::Plugins::VERSION = '1.010'

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r3 < r2 < r1 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback SourceForge.net Logo