GetPermissions
array CFormStatus::GetPermissions( int status_id )
The method GetPermissions returns an array of the current user permissions for the specified status. The following values are possible in this array:
- VIEW - permission to view the results in this status;
- MOVE - permission to change the results to this status;
- EDIT - permission to edit the results in this status;
- DELETE - permission to delete the results in this status.
Parameters
Parameter | Description |
---|---|
status_id | The status ID. |
See Also
Example
© «Bitrix24», 2001-2024