Show User Single Selection Dialog BX24.selectUser

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.selectUser(callback: callable): void;
        

The BX24.selectUser method displays the standard single user selection dialog.

Method Parameters

Required parameters are marked with *

Name
type

Description

callback*
callable

Callback function.

The callback handler will receive an object of the selected employee — with the same fields as the elements of the array in BX24.selectUsers:

  • id — identifier of the employee, arrives as a string
  • name — formatted name of the employee

Code Example

BX24.selectUser(
            function(params)
            {
                BX('student').value = params.name;
                BX('student_external_id').value = params.id;
            }
        )
        

How to Use Examples in Documentation

Continue Learning