canUserDoOperations
boolean public static \Bitrix\Sale\StatusBase::canUserDoOperations( string|integer $userId, string $fromStatus, array $operations );
Method checks if individual user can perform specific operations.. Static method.
Parameters
Parameter | Description | Version |
---|---|---|
$userId | User ID. | |
$fromStatus | Current status. | |
$operations | List of operations. Array type: array('update', 'cancel'). |
Exceptions
Example
© «Bitrix24», 2001-2024
Up