Documentation

BX24.selectAccess

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

User comments are not part of official documentation. Use information provided by other users in the comments at your own risk.

The User Comments section is not to be used as a feature discussion board. Only registered users can post comments. Your comment will be visible once it has been approved by the moderator.
© «Bitrix Inc.», 2001-2017, «Bitrix Inc.», 2017