Check User Administrator Access with BX24.isAdmin

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.

The method BX24.isAdmin determines whether the current user has administrator rights in Bitrix24. This method works after BX24.init.

Boolean BX24.isAdmin()
        

Parameters

No parameters.

Code Example

How to Use Examples in Documentation

BX24.init(function () {
            const isAdmin = BX24.isAdmin();
            console.log(isAdmin);
        });
        

Response Handling

The method synchronously returns a result of type boolean.

Returned Data

Name
type

Description

result
boolean

true if the current user has administrator rights in Bitrix24, otherwise false

Continue Learning