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 form {id: integer, name: string}, where:

  • id — user identifier
  • name — formatted user name

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