function zoomapi_get_user_recordings in Zoom API 7.2
Get User Recordings.
File
- ./
zoomapi.module, line 804 - Main file for the Zoom API module.
Code
function zoomapi_get_user_recordings($account) {
module_load_include('inc', 'zoomapi', 'zoomapi.api');
$uid = is_numeric($account) ? $account : $account->uid;
$zoom_user_id = zoomapi_get_zoom_user_id($uid);
if (!$zoom_user_id) {
watchdog(__FUNCTION__, 'Unable to get recordings for user !uid. Unable to lookup Zoom account ID.', [
'!uid' => $uid,
], WATCHDOG_ERROR);
return FALSE;
}
return zoomapi_api_get_user_recordings($zoom_user_id);
}