user_save

Functions that call user_save()

Namesort iconLocationDescription
comment_controls_submitmodules/comment/comment.moduleProcess comment_controls form submissions.
install_configure_form_submitinstall.phpForm API submit for the site configuration form.
openid_authenticationmodules/openid/openid.moduleAuthenticate a user or attempt registration.
system_admin_compact_pagemodules/system/system.admin.incMenu callback; Sets whether the admin menu is in compact mode or not.
user_external_login_registermodules/user/user.moduleHelper 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_multiple_role_editmodules/user/user.moduleCallback function for admin mass adding/deleting a user role.
user_profile_form_submitmodules/user/user.pages.incSubmit function for the user account and profile editing form.
user_register_submitmodules/user/user.moduleSubmit handler for the user registration form.
user_savemodules/user/user.moduleSave changes to a user account or add a new user.
user_user_operations_blockmodules/user/user.moduleCallback function for admin mass blocking users.
user_user_operations_unblockmodules/user/user.moduleCallback function for admin mass unblocking users.

Functions called by user_save()

Namesort iconLocationDescription
db_last_insert_idincludes/database.pgsql.incReturns the last insert id. This function is thread safe.
db_queryincludes/database.pgsql.incRuns a basic query in the active database.
db_resultincludes/database.pgsql.incReturn an individual result field from the previous query.
sess_destroy_uidincludes/session.incEnd a specific user's session
sess_regenerateincludes/session.incCalled when an anonymous user becomes authenticated or vice-versa.
user_accessmodules/user/user.moduleDetermine whether the user has a given privilege.
user_fieldsmodules/user/user.module
user_loadmodules/user/user.moduleFetch a user object.
user_module_invokemodules/user/user.moduleInvokes hook_user() in every module.
user_savemodules/user/user.moduleSave changes to a user account or add a new user.
user_set_authmapsmodules/user/user.moduleSave mappings of which external authentication module(s) authenticated a user. Maps external usernames to user ids in the users table.
_user_mail_notifymodules/user/user.moduleConditionally create and send a notification email when a certain operation happens on the given user account. See alsouser_mail_tokens()
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.