Difference: TWikiUsersDotPm (2 vs. 3)

Revision 32007-01-16 - TWikiContributor

Line: 43 to 46
 
Added:
>
>

ObjectMethod findUserByEmail ($email) -> \@users

  • $email - email address to look up
Return a list of user objects for the users that have this email registered with the password manager.

 

ObjectMethod createUser ($login,$wikiname) -> $userobject

Added:
>
>
 Create a user, and insert them in the maps (overwriting any current entry). Use this instead of findUser when you want to be sure you are not going to pick up any default user created by findUser. All parameters are required.
Line: 56 to 67
 and vice-versa.
Deleted:
<
<

ObjectMethod initializeRemoteUser ($remoteUser) -> $loginName

Return value: $remoteUser

Acts as a filter for $remoteUser. If set, $remoteUser is filtered for insecure characters and untainted.

If not user is passed, the remote user defaults to $cfg{DefaultUserLogin} (usually 'guest').

If we got here via an authentication status failure, then the remote user is set to blank, effectively signalling an illegal access.

If no remote user name was passed in, the user defaults to $cfg{DefaultUserLogin}.

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.TWikiUsersDotPm.