You are here

function services_client_user_exclude in Services Client 7.2

Same name and namespace in other branches
  1. 7 services_client.module \services_client_user_exclude()

Determine whether user can be synced.

Parameters

$account: User account

File

./services_client.legacy.inc, line 393
Contains functions required for automated converting old Services Client version 1 hooks to events. This file is included only in drush command 'services-client-migrate-hooks'.

Code

function services_client_user_exclude($account) {
  $exclude = explode(',', trim(variable_get('services_client_exclude_users', '1')));
  return in_array($account->uid, $exclude);
}