The example includes only one file implementing an application making REST API calls to show the current user's first and last names.
To install the local application, go to: Applications 1 - Add application 2 - Add 3:
In the Add Application form, fill out the required fields and select the required permissions. For this example, you have to select the user management permission. Finally, upload the application archive file:
After you click Save, the application will be available in the
Local Applications list
in your Bitrix24.
Locate the application titled Full Name in the left menu (or in the More drop-down menu in the Applications area) and run it. The program will show the first and last names of the current user obtained via the REST API using the JS library. Since the static local application runs within the Bitrix24 user interface context, JS SDK automatically receives authorization level of the current user under whom the application is running.