Show Multiple User Selection Dialog BX24.selectUsers

If you are developing integrations for Bitrix24 using AI tools (Codex, Claude Code, Cursor), connect to the MCP server so that the assistant can utilize the official REST documentation.

BX24.selectUsers(callback: callable): void;
        

The BX24.selectUsers method displays the standard multiple user selection dialog. It only shows company employees.

Method Parameters

Required parameters are marked with *

Name
type

Description

callback*
callable

Callback function.

The callback handler will receive an array of objects in the format {id: integer, name: string}, where:

  • id — user identifier
  • name — formatted user name

Code Example


        BX24.selectUsers(
            function(params)
            {
                for (var i in params)
                {
                    let param = params[i];
                    BX('student' + i).value = param.name;
                    BX('student_external_id'  + i).value = param.id;
                }
            }
        )
        

How to Use Examples in Documentation

Continue Learning