You are here

function hook_services_account_object_alter in Services 7.3

Allows alteration of the user object after services removes sensitive information.

Parameters

object $user: A user object without the 'pass' attribute, and if the current user doesn't have the 'administer users' permission, this will also not include the 'mail' or 'init' attributes.

See also

services_remove_user_data()

1 invocation of hook_services_account_object_alter()
services_remove_user_data in ./services.module
Helper function to remove data from the user object.

File

docs/services.alter.api.php, line 198
Documentation about Services alter hooks and variables.

Code

function hook_services_account_object_alter(&$user) {
}