You are here

function zoomapi_user_checkemail in Zoom API 7

Does Zoom user exist for account.

Parameters

object $account: The Drupal user account to check if matching Zoom API account exists.

Return value

bool TRUE if Zoom user account exists for $account, FALSE otherwise.

File

./zoomapi.module, line 130
Main file for the Zoom API module.

Code

function zoomapi_user_checkemail($account) {
  if (empty($account->data['zoomapi_user_email'])) {
    return FALSE;
  }
  $zoomapi_user = new ZoomAPIUser();
  return $zoomapi_user
    ->checkemail($account->date['zoomapi_user_email']);
}