when user logged in to the meeting via on Web SDK. i want to check whether user is AUTHORIZED or NOT.
So i added this code. Here is my question
When user is NON-AUTHORIZED person . then automatically he or she should be delete by the system or Blacklist them , how can i accomplish this task using WEB SDK ?
ZoomMtg.inMeetingServiceListener('onUserJoin', function (data) {
console.log("ON USER JOIN");
console.log('inMeetingServiceListener onUserJoin', data);
var loggedUserId = data.userId;
var loggedUserName = data.userName;
$.ajax({
type: "POST",
url: "{{url('meeting/web/checkAuthorizedUser')}}",
data: {
"loggedUserId": loggedUserId,
"loggedUserName": loggedUserName,
'_token': '{{csrf_token()}}',
},
dataType: 'json',
success: function (data) {
alert(data);
},
error: function (data) {
console.log(data);
}
});
});