You are here

public function ZoomAPIUser::checkemail in Zoom API 7

Check User Email.

Check if the user exists.

Parameters

string $email: The email to check if account exists.

Return value

bool TRUE if the account exists, FALSE otherwise.

File

includes/zoomapi.user.classes.inc, line 300
User classes for Zoom API.

Class

ZoomAPIUser
Zoom API User Class.

Code

public function checkemail($email) {
  $data['email'] = $email;
  $response = $this
    ->sendRequest('user/checkemail', $data);
  return !empty($response['existed_email']);
}