Documentation

user.access

BX24.callMethod('user.access', {ACCESS:['U22','U33']});

Checks if the current user has at least one permission of those specified by the ACCESS parameter.

Parameters

Parameter Description
ACCESS Required parameter. The ID or a list of permission IDs to be checked.

Example

https://my.bitrix24.com/rest/user.access.json?ACCESS[]=U22&ACCESS[]=U33&auth=d161f25928c3184678924ec127edd29a

JSON response:

{"result":false}



© «Bitrix24», 2001-2024
Up