user.module
Version 1.892.2.19 (checked in on 2009/11/06 at 07:36:34 by goba)
Enables the user registration and login system.
Constants
| Name | Description |
|---|---|
| EMAIL_MAX_LENGTH | |
| USERNAME_MAX_LENGTH |
Functions
| Name | Description |
|---|---|
| template_preprocess_user_picture | Process variables for user-picture.tpl.php. |
| theme_user_list | Make a list of users. |
| theme_user_signature | Theme output of user signature. |
| user_access | Determine whether the user has a given privilege. |
| user_action_info | Implementation of hook_action_info(). |
| user_authenticate | Try to log in the user locally. |
| user_authenticate_finalize | Finalize the login process. Must be called when logging in a user. |
| user_block | Implementation of hook_block(). |
| user_block_ip_action | Implementation of a Drupal action. Adds an access rule that blocks the user's IP address. |
| user_block_user_action | Implementation of a Drupal action. Blocks the current user. |
| user_build_content | Builds a structured array representing the profile content. |
| user_build_filter_query | Build query for user administration filters based on session. |
| user_category_load | Return a user object after checking if any profile category in the path exists. |
| user_comment | Implementation of hook_comment(). |
| user_delete | Delete a user. |
| user_edit_access | Access callback for user account editing. |
| user_edit_form | |
| user_elements | Implementation of hook_elements(). |
| user_external_load | |
| user_external_login | Perform standard Drupal login operations for a user object. |
| user_external_login_register | Helper function for authentication modules. Either login in or registers the current user, based on username. Either way, the global $user object is populated based on $name. |
| user_fields | |
| user_file_download | Implementation of hook_file_download(). |
| user_filters | List user administration filters that can be applied. |
| user_forms | Implementation of hook_forms(). |
| user_get_authmaps | Discover which external authentication module(s) authenticated a username. |
| user_help | Implementation of hook_help(). |
| user_hook_info | Implementation of hook_hook_info(). |
| user_init | Implementation of hook_init(). |
| user_is_anonymous | |
| user_is_blocked | Checks for usernames blocked by user administration. |
| user_is_logged_in | |
| user_load | Fetch a user object. |
| user_load_self | |
| user_login | Form builder; the main user login form. |
| user_login_authenticate_validate | A validate handler on the login form. Check supplied username/password against local users table. If successful, sets the global $user object. |
| user_login_block | |
| user_login_default_validators | Set up a series for validators which check for blocked/denied users, then authenticate against local database, then return an error if authentication fails. Distributed authentication modules are welcome to use hook_form_alter() to change this series... |
| user_login_final_validate | A validate handler on the login form. Should be the last validator. Sets an error if user has not been authenticated yet. |
| user_login_name_validate | A FAPI validate handler. Sets an error if supplied username has been blocked or denied access. |
| user_login_submit | Submit handler for the login form. Redirects the user to a page. |
| user_mail | Implementation of hook_mail(). |
| user_mail_tokens | Return an array of token to value mappings for user e-mail messages. |
| user_menu | Implementation of hook_menu(). |
| user_module_invoke | Invokes hook_user() in every module. |
| user_multiple_delete_confirm | |
| user_multiple_delete_confirm_submit | |
| user_multiple_role_edit | Callback function for admin mass adding/deleting a user role. |
| user_page_title | Menu item title callback - use the user name if it's not the current user. |
| user_password | Generate a random alphanumeric password. |
| user_pass_rehash | |
| user_pass_reset_url | |
| user_perm | Implementation of hook_perm(). |
| user_preferred_language | Get the language object preferred by the user. This user preference can be set on the user account editing page, and is only available if there are more than one languages enabled on the site. If the user did not choose a preferred language, or is the... |
| user_register | Form builder; The user registration form. |
| user_register_access | |
| user_register_submit | Submit handler for the user registration form. |
| user_register_validate | |
| user_roles | Retrieve an array of roles matching specified conditions. |
| user_save | Save changes to a user account or add a new user. |
| user_search | Implementation of hook_search(). |
| user_set_authmaps | Save mappings of which external authentication module(s) authenticated a user. Maps external usernames to user ids in the users table. |
| user_theme | Implementation of hook_theme(). |
| user_uid_optional_load | Load either a specified or the current user account. |
| user_uid_optional_to_arg | Returns the user id of the currently logged in user. |
| user_user | Implementation of hook_user(). |
| user_user_operations | Implementation of hook_user_operations(). |
| user_user_operations_block | Callback function for admin mass blocking users. |
| user_user_operations_unblock | Callback function for admin mass unblocking users. |
| user_validate_mail | |
| user_validate_name | Verify the syntax of the given name. |
| user_validate_picture | |
| user_view_access | |
| _user_categories | Retrieve a list of all user setting/information categories and sort them by weight. |
| _user_edit_submit | |
| _user_edit_validate | |
| _user_forms | Retrieve a list of all form elements for the specified category. |
| _user_mail_notify | Conditionally create and send a notification email when a certain operation happens on the given user account. |
| _user_mail_text | Returns a mail string for a variable name. |
| _user_password_dynamic_validation | Add javascript and string translations for dynamic password validation (strength and confirmation checking). |
| _user_sort |
