documentgenerator.role.fillaccesses
documentgenerator.role.fillaccesses(accesses = [])
The method defines set of roles and their bindings.
Attention! This method does not update current bindings. It always re-writes full details.
Parameters
Parameter | Description |
---|---|
accesses | Array of role bindings.
|
Example
"accesses": [ { "roleId": "1", "accessCode" : "U1", // bind to user with ID 1 }, { "roleId": "2", "accessCode" : "D1", // bind to department with ID 1 } ]
© «Bitrix24», 2001-2024