Function to determine if a user is in the list of users which are added to the auto-created conference automatically.

 

Syntax

function mIsUserIncludedToAutoConf(iUIN, iUID: integer): boolean;

 

Parameters and return values

Parameter

Type

Value

iUIN

integer

user numeric identifier (UIN);

iUID

integer

conference numeric identifier (UID).

 

Function result

"True", if the user is a member of the auto-created conference, "False" — if not or there is no such conference and/or user.

 

Example


const
  iConfUID = 1; // main
  iUIN = 6;
begin
  if mIsUserIncludedToAutoConf(iUIN, iConfUID) then mLogScript('Yes', '')
    else mLogScript('No', '');
end.


Script work result

[17:07:44] (Log "mIsUserIncludedToAutoConf"): Yes

[17:07:44] (Run "mIsUserIncludedToAutoConf"): Script operation time: 2 ms

[17:07:44] (Run "mIsUserIncludedToAutoConf"): Script done successfully.
 

See also

mLogScript