Authentication functions.
This file contains all the functions for getting information about users and authenticating them using an IMAP server.
Note: this application assumes that usernames (logins) are unique.
Note #2: If you are using HTTP-based authentication, then you still need these functions and you will still need to add users to webcal_user.
quoteIMAP($str)
quote char's into valid IMAP string
$str - String to be quoted
Returns: quoted string
Add a new user.
Delete a user from the system.
This will also delete any of the user's events in the system that have no other participants. Any layers that point to this user will be deleted. Any views that include this user will be updated.
Get a list of users and return info in an array.
Load info about a user (first name, last name, admin) and set globally.
Update a user.
Update user password.
Check to see if a given login/crypted password is valid.
If invalid, the error message will be placed in $error.
Check to see if a given login/password is valid.
If invalid, the error message will be placed in $error.
Documentation generated on Thu, 10 Jun 2010 17:08:38 -0400 by phpDocumentor 1.4.3