Function to determine if a user is in the list of users which are added to the auto-created conference automatically.
function mIsUserIncludedToAutoConf(iUIN, iUID: integer): boolean;
Parameter |
Type |
Value |
---|---|---|
iUIN |
integer |
user numeric identifier (UIN); |
iUID |
integer |
conference numeric identifier (UID). |
"True", if the user is a member of the auto-created conference, "False" — if not or there is no such conference and/or user.
const
iConfUID = 1; // main
iUIN = 6;
begin
if mIsUserIncludedToAutoConf(iUIN, iConfUID) then mLogScript('Yes', '')
else mLogScript('No', '');
end.
[17:07:44] (Log "mIsUserIncludedToAutoConf"): Yes
[17:07:44] (Run "mIsUserIncludedToAutoConf"): Script operation time: 2 ms
[17:07:44] (Run "mIsUserIncludedToAutoConf"): Script done successfully.