Bitrix24 REST API


void BX24.selectAccess(Array value, Function callback)

void BX24.selectAccess(Function callback)

Creates and shows a dialog box in which a user can select access permissions.

The value parameter specifies the access permissions that will be grayed out in the dialog box and thus unavailable. There is no way to specify an initial permission selection.

When a user confirms selection and closes the dialog box, the system calls the callback function passing an array of objects each of which have the following format: {id: Access_permission_ID, name: permission_name}.

The access permission ID's are the abbreviations in the format:

  • U1 - a user with the ID = 1;
  • SG4 - a social network group with the ID = 4;
  • AU - all the signed in users.

User comments

Comments by users are not official documentation. Responsibility for use of the comments are born by users themselves.

The user comments section is not intended as a request box or training area, but rather for specific usage examples. For more general inquiries, please refer to link.

Comments may be added only by registered users and appear after moderation.
© 2001-2017 Bitrix, Inc. Bitrix is a registered trademark of Bitrix, Inc. Powered by Bitrix Site Manager