user.module

Version

1.892.2.7 (checked in on 2008/08/17 at 10:49:02 by dries)

Description

Enables the user registration and login system.

Constants

Namesort iconDescription
EMAIL_MAX_LENGTH
USERNAME_MAX_LENGTH

Functions

Namesort iconDescription
template_preprocess_user_pictureProcess variables for user-picture.tpl.php.
theme_user_listMake a list of users.
theme_user_signatureTheme output of user signature.
user_accessDetermine whether the user has a given privilege.
user_action_infoImplementation of hook_action_info().
user_authenticateTry to log in the user locally.
user_authenticate_finalizeFinalize the login process. Must be called when logging in a user.
user_blockImplementation of hook_block().
user_block_ip_actionImplementation of a Drupal action. Adds an access rule that blocks the user's IP address.
user_block_user_actionImplementation of a Drupal action. Blocks the current user.
user_build_contentBuilds a structured array representing the profile content.
user_build_filter_queryBuild query for user administration filters based on session.
user_category_loadReturn a user object after checking if any profile category in the path exists.
user_commentImplementation of hook_comment().
user_deleteDelete a user.
user_edit_accessAccess callback for user account editing.
user_edit_form
user_elementsImplementation of hook_elements().
user_external_load
user_external_loginPerform standard Drupal login operations for a user object.
user_external_login_registerHelper 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_downloadImplementation of hook_file_download().
user_filtersList user administration filters that can be applied.
user_formsImplementation of hook_forms().
user_get_authmapsDiscover which external authentication module(s) authenticated a username.
user_helpImplementation of hook_help().
user_hook_infoImplementation of hook_hook_info().
user_init
user_is_anonymous
user_is_blockedChecks for usernames blocked by user administration.
user_is_logged_in
user_loadFetch a user object.
user_load_self
user_loginForm builder; the main user login form.
user_login_authenticate_validateA 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_validatorsSet 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_validateA validate handler on the login form. Should be the last validator. Sets an error if user has not been authenticated yet.
user_login_name_validateA FAPI validate handler. Sets an error if supplied username has been blocked or denied access.
user_login_submitSubmit handler for the login form. Redirects the user to a page.
user_mailImplementation of hook_mail().
user_mail_tokensReturn an array of token to value mappings for user e-mail messages.
user_menuImplementation of hook_menu().
user_module_invokeInvokes hook_user() in every module.
user_multiple_delete_confirm
user_multiple_delete_confirm_submit
user_multiple_role_editCallback function for admin mass adding/deleting a user role.
user_page_titleMenu item title callback - use the user name if it's not the current user.
user_passwordGenerate a random alphanumeric password.
user_pass_rehash
user_pass_reset_url
user_permImplementation of hook_perm().
user_preferred_languageGet 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_registerForm builder; The user registration form. See alsouser_register_validate()
user_register_access
user_register_submitSubmit handler for the user registration form.
user_register_validate
user_rolesRetrieve an array of roles matching specified conditions.
user_saveSave changes to a user account or add a new user.
user_searchImplementation of hook_search().
user_set_authmapsSave mappings of which external authentication module(s) authenticated a user. Maps external usernames to user ids in the users table.
user_themeImplementation of hook_theme().
user_uid_optional_load
user_uid_optional_to_argReturns the user id of the currently logged in user.
user_userImplementation of hook_user().
user_user_operationsImplementation of hook_user_operations().
user_user_operations_blockCallback function for admin mass blocking users.
user_user_operations_unblockCallback function for admin mass unblocking users.
user_validate_mail
user_validate_nameVerify the syntax of the given name.
user_validate_picture
user_view_access
_user_categoriesRetrieve a list of all user setting/information categories and sort them by weight.
_user_edit_submit
_user_edit_validate
_user_formsRetrieve a list of all form elements for the specified category.
_user_mail_notifyConditionally create and send a notification email when a certain operation happens on the given user account. See alsouser_mail_tokens()
_user_mail_textReturns a mail string for a variable name.
_user_password_dynamic_validationAdd javascript and string translations for dynamic password validation (strength and confirmation checking).
_user_sort
 
 

Drupal is a registered trademark of Dries Buytaert.