CBPVirtualDocument :: SetPermissions: Bitrix method

      
<?php 
//  CBPVirtualDocument :: SetPermissions()
//  /dist/bitrix/modules/bizproc/classes/general/virtualdocument.php:2292

    
public function SetPermissions($documentId$workflowId$arPermissions$bRewrite true)
    {
        
$documentId intval($documentId);
        if (
$documentId <= 0)
            throw new 
CBPArgumentNullException("documentId");
    }