Difference: TWikiUsersDotPm (2 vs. 3)

Revision 316 Jan 2007 - Main.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 website uses only proprietary and third party technical cookies to ensure the correct operation of its web pages and to improve its services.
By continuing to navigate the website you consent to the use of cookies. To learn more, or deny your consent, consult the privacy policy
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.