Get a password of a multi-user conference by its numeric identifier (UID).

 

Syntax

function mGetConfPassword(iUID: integer): string;

 

Parameters and return values

Parameter

Type

Value

iUID

integer

conference numeric identifier (UID).

 

Function result

Conference password text name. If there is no such UID or the password is not specified, the function returns an empty string.

 

Example


const
  CONF_NAME = 'work';
var
  sTopic, sPassword: string;
  iUID: integer;
begin
  iUID := mGetConfUIDByName(CONF_NAME);
  
    if iUID = -1 then mLogScript('Conference not found', '')
      else begin
        mLogScript('Topic: "' + mGetConfTopic(iUID) + '"', '');
        mLogScript('Password: "' + mGetConfPassword(iUID) + '"', '');
      end;  
end.


Script work result

[15:57:05] (Log "mGetConfPassword"): Topic: "Attention! Work"

[15:57:05] (Log "mGetConfPassword"): Password: "iddqd"

[15:57:05] (Run "mGetConfPassword"): Script work result: 3 ms

[15:57:05] (Run "mGetConfPassword"): Script done successfully.
 

See also

mGetConfTopic

mGetConfUIDByName

mLogScript