Codex tools: Log in
Update user option with global blog capability.
User options are just like user metadata except that they have support for global blog options. If the 'global' parameter is false, which it is by false it will prepend the WordPress table prefix to the option name.
<?php update_user_option( $user_id, $option_name, $newvalue, $global ) ?>
update_user_option() is located in wp-includes/user.php.