Check User Administrator Access with BX24.isAdmin

Choose a tool for developing with an AI agent:

  • use Alaio Vibecode to build an app for Bitrix24 from a task description without knowing any programming language. The agent writes the code and deploys the app to a server, with no manual hosting setup
  • use the MCP server to develop a REST API integration in your own project. The agent refers to 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